[banshee] [PlaybackShuffleActions] Fix shuffle mode initialization



commit 712fd810f7ddd93d3ba34a97e656406e549922b7
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Thu Feb 18 21:21:53 2010 +0100

    [PlaybackShuffleActions] Fix shuffle mode initialization
    
    The shuffle mode from the configuration was not activated properly
    on startup when it was a proper value. Because of this the next button
    wouldn't work until you changed the shuffle mode.

 .../Banshee.Gui/PlaybackShuffleActions.cs          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
index 0a40431..bd45d45 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
@@ -143,7 +143,7 @@ namespace Banshee.Gui
 
             var action = this[ConfigIdToActionName (ShuffleMode.Get ())];
             if (action is RadioAction) {
-                active_action = (RadioAction)action;
+                Active = (RadioAction)action;
             } else {
                 Active = (RadioAction)this[shuffle_off_action];
             }



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