banshee r3491 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.Widgets



Author: ahixon
Date: Thu Mar 20 09:49:24 2008
New Revision: 3491
URL: http://svn.gnome.org/viewvc/banshee?rev=3491&view=rev

Log:
2008-03-20  Alexander Hixon  <hixon alexander mediati org>

	* src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs:
	Stop hiding the job tile host, so that any ease-out animations that occur
	with only a single widget in the host display correctly, instead of being
	completely hidden.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs	Thu Mar 20 09:49:24 2008
@@ -114,13 +114,15 @@
             ThreadAssist.ProxyToMain (delegate {
                 lock (this) {
                     if (job_tiles.ContainsKey (args.Job)) {
-                        UserJobTile tile = job_tiles[args.Job];
+                        UserJobTile tile = job_tiles[args.Job];                        
                         box.Remove (tile);
                         job_tiles.Remove (args.Job);
                     }
     
                     if (job_tiles.Count <= 0) {
-                        Hide ();
+                        // Don't actually hide the widget, since that screws
+                        // with the last widget's ease-out animation.
+                        TopPadding = 0;
                     }
                 }
             });



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