banshee r3101 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue



Author: abock
Date: Wed Jan 30 20:31:27 2008
New Revision: 3101
URL: http://svn.gnome.org/viewvc/banshee?rev=3101&view=rev

Log:
2008-01-30  Aaron Bockover  <abock gnome org>

    * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs:
    Use the new AddImportant method to make the play queue 'clear' text
    show up in the header

    * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Fixed
    Add to be 'new', added AddImportant



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs
   trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs	Wed Jan 30 20:31:27 2008
@@ -44,8 +44,13 @@
         public BansheeActionGroup (string name) : base (name)
         {
         }
+        
+        public new void Add (params ActionEntry [] action_entries)
+        {
+            base.Add (action_entries);
+        }
 
-        public void Add (params ActionEntry [] action_entries)
+        public void AddImportant (params ActionEntry [] action_entries)
         {
             base.Add (action_entries);
             

Modified: trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs	Wed Jan 30 20:31:27 2008
@@ -78,9 +78,9 @@
             );
             
             actions = new BansheeActionGroup ("PlayQueueSource");
-            uia_service.GlobalActions.Add (
+            uia_service.GlobalActions.AddImportant (
                 new ActionEntry ("ClearPlayQueueAction", Stock.Clear,
-                    Catalog.GetString ("Clear Play Queue"), null,
+                    Catalog.GetString ("Clear"), null,
                     Catalog.GetString ("Remove all tracks from the play queue"),
                     OnClearPlayQueue)
             );



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