banshee r3847 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets



Author: abock
Date: Tue Apr 29 21:57:42 2008
New Revision: 3847
URL: http://svn.gnome.org/viewvc/banshee?rev=3847&view=rev

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

    * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs: Do not chain
    SizeAllocated if the allocation doesn't actuall change - not sure why
    GtkImage raises this when the image changes even if the dimensions are
    the same. Lame.



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs

Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs	Tue Apr 29 21:57:42 2008
@@ -72,6 +72,13 @@
             }
         }
         
+        protected override void OnSizeAllocated (Gdk.Rectangle allocation)
+        {
+            if (allocation != Allocation) {
+                base.OnSizeAllocated (allocation);
+            }
+        }
+        
         public void Load ()
         {
             ExtractFrames ();



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