banshee r3847 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3847 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets
- Date: Tue, 29 Apr 2008 22:57:42 +0100 (BST)
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]