Author: abock
Date: Sat Feb  9 23:54:45 2008
New Revision: 3197
URL: http://svn.gnome.org/viewvc/banshee?rev=3197&view=rev

Log:
2008-02-09  Aaron Bockover  <[EMAIL PROTECTED]>

    * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Do not
    show the 'sort children' menu item if the source does not have children
    (thanks Scott)



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/   (props changed)
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
   trunk/banshee/src/Dap/   (props changed)
   trunk/banshee/src/Dap/Banshee.Dap.MassStorage/   (props changed)
   trunk/banshee/src/Dap/Banshee.DapCore/   (props changed)

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     
Sat Feb  9 23:54:45 2008
@@ -234,6 +234,10 @@
                 UpdateAction ("SourcePropertiesAction", source.HasProperties, 
true, source);
                 last_source = source;
             }
+            
+            if (source != null) {
+                UpdateAction ("SortChildrenAction", source.Children.Count > 0, 
true, null);
+            }
         }
 
         private static bool ConfirmUnmap(IUnmapableSource source)
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to