[banshee] Fix just-broken shuffle mode pref saving/restoring



commit 13931e63157f0b311c981550b3fcef66f99e29cd
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Feb 15 20:17:55 2010 -0800

    Fix just-broken shuffle mode pref saving/restoring

 .../Banshee.Gui/PlaybackShuffleActions.cs          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
index 08d960b..b9a70d6 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs
@@ -242,12 +242,12 @@ namespace Banshee.Gui
 
         private static string ConfigIdToActionName (string configuration)
         {
-            return String.Format ("{0}", StringUtil.UnderCaseToCamelCase (configuration));
+            return "S" + configuration.Substring (1);
         }
 
         private static string ActionNameToConfigId (string actionName)
         {
-            return StringUtil.CamelCaseToUnderCase (actionName);
+            return actionName.ToLowerInvariant ();
         }
 
         public static readonly SchemaEntry<string> ShuffleMode = new SchemaEntry<string> (



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