[banshee] Fix bug with next button not showing shuffle icon



commit b35a040ae85edd8ef0f02f78835750755defbf27
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Oct 1 10:45:53 2009 -0700

    Fix bug with next button not showing shuffle icon

 .../Banshee.Gui/PlaybackShuffleActions.cs          |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
index 4dc07b7..a823f37 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
@@ -108,7 +108,7 @@ namespace Banshee.Gui
                     (int)PlaybackShuffleMode.Score)
             }, 0, OnActionChanged);
                 
-            this["ShuffleOffAction"].IconName = "media-skip-forward";
+            this["ShuffleOffAction"].StockId = Gtk.Stock.MediaNext;
             this["ShuffleSongAction"].IconName = "media-playlist-shuffle";
             this["ShuffleArtistAction"].IconName = "media-playlist-shuffle";
             this["ShuffleAlbumAction"].IconName = "media-playlist-shuffle";
@@ -169,6 +169,7 @@ namespace Banshee.Gui
 
         private void OnChanged ()
         {
+            playback_actions["NextAction"].StockId = Active.StockId;
             playback_actions["NextAction"].IconName = Active.IconName;
             EventHandler handler = Changed;
             if (handler != null) {



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