mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Refactored PluginUtils to have the GetExePath and GetExeIcon, which was needed for giving the ExternalCommandPlugin an icon.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2057 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
99e672a76d
commit
91385b074e
13 changed files with 119 additions and 83 deletions
|
@ -18,7 +18,7 @@ namespace ExternalCommand {
|
|||
Image icon = null;
|
||||
if (File.Exists(config.commandlines[exepath])) {
|
||||
try {
|
||||
icon = AbstractDestination.GetExeIcon(config.commandlines[exepath], 0);
|
||||
icon = PluginUtils.GetExeIcon(config.commandlines[exepath], 0);
|
||||
} catch (Exception ex) {
|
||||
LOG.Warn("Problem loading icon for " + config.commandlines[exepath], ex);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue