banshee r3689 - in trunk/banshee: . src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea



Author: abock
Date: Sun Apr  6 19:58:10 2008
New Revision: 3689
URL: http://svn.gnome.org/viewvc/banshee?rev=3689&view=rev

Log:
2008-04-06  Aaron Bockover  <abock gnome org>

    * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs:
    Fixed the icon sizing issue hopefully once and for all - still the same
    proper result but without the invalid size warning



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs

Modified: trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs	Sun Apr  6 19:58:10 2008
@@ -41,7 +41,6 @@
     public class X11NotificationAreaBox : X11NotificationArea, INotificationAreaBox
     {
         private EventBox event_box;
-        private Image image;
         
         private TrackInfoPopup popup;
         private bool can_show_popup = false;
@@ -58,10 +57,7 @@
         public X11NotificationAreaBox () : base (Catalog.GetString ("Banshee"))
         {
             event_box = new EventBox ();
-            image = new Image ();
-            image.IconSize = 22;
-            image.IconName = Banshee.ServiceStack.Application.IconName;
-            event_box.Add (image);
+            event_box.Add (Image.NewFromIconName (Banshee.ServiceStack.Application.IconName, IconSize.LargeToolbar));
             Add (event_box);
             
             event_box.ButtonPressEvent += OnButtonPressEvent;



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