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



Author: gburt
Date: Tue Apr 14 21:20:54 2009
New Revision: 5202
URL: http://svn.gnome.org/viewvc/banshee?rev=5202&view=rev

Log:
2009-04-14  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs: Set
	the sensitivity based on whether any bg tasks are active, so less
	intrusive when there aren't, and in general, distinguishable.

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

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs	Tue Apr 14 21:20:54 2009
@@ -114,6 +114,7 @@
         {
             if (task_active) {
                 Active = true;
+                Sensitive = true;
                 Banshee.ServiceStack.Application.RunTimeout (1000, TurnOff);
             }
             return false;
@@ -122,6 +123,7 @@
         private bool TurnOff ()
         {
             Active = false;
+            Sensitive = task_active;
 
             if (task_active) {
                 Banshee.ServiceStack.Application.RunTimeout (5000, TurnOn);



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