diff options
author | Vaclav Vancura <vaclav@vancura.org> | 2015-12-15 15:36:52 +0300 |
---|---|---|
committer | Vaclav Vancura <vaclav@vancura.org> | 2015-12-15 16:17:36 +0300 |
commit | e89c30fe4db1275bfd5436d660ee1096ada6fd13 (patch) | |
tree | 4fb9bda60132a029b63c9512773a26f83f722c2b /main | |
parent | 2bbdea09fc4939c4590ee8a484f731eaea4cced9 (diff) |
[Ide] ImageService.GetIcon size now defaults to IconSize.Menu
Diffstat (limited to 'main')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ImageService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ImageService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ImageService.cs index 2cff1a6d5a..83c08b3d37 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ImageService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ImageService.cs @@ -38,6 +38,7 @@ using MonoDevelop.Ide.Gui.Components; using System.Threading.Tasks; using System.Net; using Xwt.Backends; +using Gtk; namespace MonoDevelop.Ide { @@ -222,7 +223,7 @@ namespace MonoDevelop.Ide static Dictionary<string,Xwt.Drawing.Image> icons = new Dictionary<string, Xwt.Drawing.Image> (); - public static Xwt.Drawing.Image GetIcon (string name, Gtk.IconSize size) + public static Xwt.Drawing.Image GetIcon (string name, Gtk.IconSize size = IconSize.Menu) { return GetIcon (name).WithSize (size); } |