Removed the embedded internet explorer icon, in favor of the real exe icon. This gives a much better quality with larger icon sizes.

This commit is contained in:
RKrom 2014-11-11 16:04:08 +01:00
commit 2f70c91578
3 changed files with 4 additions and 17 deletions

View file

@ -560,6 +560,10 @@ namespace Greenshot {
private void OnIconSizeChanged(object sender, PropertyChangedEventArgs e) {
if (e.PropertyName == "IconSize") {
contextMenu.ImageScalingSize = coreConfiguration.IconSize;
string ieExePath = PluginUtils.GetExePath("iexplore.exe");
if (!string.IsNullOrEmpty(ieExePath)) {
this.contextmenu_captureie.Image = PluginUtils.GetCachedExeIcon(ieExePath, 0);
}
}
}