[tomboy] Fix applet to use tomboy-panel icon when available



commit e4c8939d5d332142453ef717971a1d4e56563fe9
Author: Brian Mattern <rephorm rephorm com>
Date:   Sun Jun 6 09:49:09 2010 -0700

    Fix applet to use tomboy-panel icon when available
    
    https://bugzilla.gnome.org/show_bug.cgi?id=614765

 Tomboy/Applet.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Tomboy/Applet.cs b/Tomboy/Applet.cs
index 06b1244..0ff3d35 100644
--- a/Tomboy/Applet.cs
+++ b/Tomboy/Applet.cs
@@ -378,7 +378,8 @@ namespace Tomboy
 			else if (icon_size <= 47)
 				icon_size = 32;
 
-			Gdk.Pixbuf new_icon = GuiUtils.GetIcon ("tomboy", icon_size);
+			Gdk.Pixbuf new_icon = GuiUtils.GetIcon ("tomboy-panel", icon_size) ??
+				GuiUtils.GetIcon ("tomboy", icon_size);
 			image.Pixbuf = new_icon;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]