banshee r3197 - in trunk/banshee: . src src/Core/Banshee.ThickClient/Banshee.Gui src/Dap src/Dap/Banshee.Dap.MassStorage src/Dap/Banshee.DapCore
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3197 - in trunk/banshee: . src src/Core/Banshee.ThickClient/Banshee.Gui src/Dap src/Dap/Banshee.Dap.MassStorage src/Dap/Banshee.DapCore
- Date: Sat, 9 Feb 2008 23:54:45 +0000 (GMT)
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 <abock gnome org>
* 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]