mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
First code analysis changes, this "should" make Greenshot more stable and implement things as is supposed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2481 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
3f4d93f2b6
commit
a394904aa3
64 changed files with 514 additions and 343 deletions
|
@ -330,7 +330,7 @@ namespace Greenshot {
|
|||
} catch (ArgumentException ex) {
|
||||
// Added for Bug #1420, this doesn't solve the issue but maybe the user can do something with it.
|
||||
ex.Data.Add("more information here", "http://support.microsoft.com/kb/943140");
|
||||
throw ex;
|
||||
throw;
|
||||
}
|
||||
this.notifyIcon.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||
|
@ -1210,7 +1210,7 @@ namespace Greenshot {
|
|||
} catch (Exception ex) {
|
||||
// Make sure we show what we tried to open in the exception
|
||||
ex.Data.Add("path", path);
|
||||
throw ex;
|
||||
throw;
|
||||
}
|
||||
break;
|
||||
case ClickActions.OPEN_LAST_IN_EDITOR:
|
||||
|
@ -1252,7 +1252,7 @@ namespace Greenshot {
|
|||
} catch (Exception e) {
|
||||
// Make sure we show what we tried to open in the exception
|
||||
e.Data.Add("path", path);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue