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



Author: scottp
Date: Thu Feb 21 20:56:37 2008
New Revision: 3295
URL: http://svn.gnome.org/viewvc/banshee?rev=3295&view=rev

Log:
* src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Changed it
  so that the "Sort Children" option appears only if there are two or
  more children of a source: a list of one is always sorted :)

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

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs	Thu Feb 21 20:56:37 2008
@@ -286,7 +286,7 @@
             }
             
             if (source != null) {
-                UpdateAction ("SortChildrenAction", source.Children.Count > 0, true, null);
+                UpdateAction ("SortChildrenAction", source.Children.Count > 1, true, null);
             }
         }
 



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