Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2016-01-08 18:23:12 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2016-01-08 18:23:32 +0300
commit83cd4d04e0b9beefb6709ce3f64da13036de933d (patch)
tree6b03ffab974a88c9151aabd0b99bff6d61a559fa /main/src
parent8a4f65290324c03145f8b00d85221b5865fd1c27 (diff)
[Ide] Use the branded icon for all windows, not just main window.
Diffstat (limited to 'main/src')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
index daf5b2e5c1..6512708c1e 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
@@ -232,7 +232,7 @@ namespace MonoDevelop.Ide.Gui
var iconsEl = BrandingService.GetElement ("ApplicationIcons");
if (iconsEl != null) {
try {
- this.IconList = iconsEl.Elements ("Icon")
+ Gtk.Window.DefaultIconList = iconsEl.Elements ("Icon")
.Select (el => new Gdk.Pixbuf (BrandingService.GetFile ((string)el))).ToArray ();
return;
} catch (Exception ex) {
@@ -243,7 +243,7 @@ namespace MonoDevelop.Ide.Gui
//built-ins
var appIcon = ImageService.GetIcon (MonoDevelop.Ide.Gui.Stock.MonoDevelop);
- this.IconList = new Gdk.Pixbuf[] {
+ Gtk.Window.DefaultIconList = new Gdk.Pixbuf[] {
appIcon.ToPixbuf (Gtk.IconSize.Menu),
appIcon.ToPixbuf (Gtk.IconSize.Button),
appIcon.ToPixbuf (Gtk.IconSize.Dnd),