[banshee] [Equalizer] Restore selected preset (bgo#614313)



commit c9ac13ed47db0d9d24624f06d8aa65efd98700aa
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Tue Mar 30 18:21:28 2010 +1100

    [Equalizer] Restore selected preset (bgo#614313)
    
    Also make Rock the default preset, pop is fucking lame.

 .../Banshee.Equalizer/EqualizerManager.cs          |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs b/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs
index b7b3ab5..af009da 100644
--- a/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs
@@ -243,13 +243,8 @@ namespace Banshee.Equalizer
 
             Log.DebugTimerPrint (timer, "Loaded equalizer presets: {0}");
 
-            bool any_user_defined = equalizers.Count > 0;
             equalizers.AddRange (GetDefaultEqualizers ());
-            if (!any_user_defined) {
-                Select ("Pop");
-            } else {
-                Select ();
-            }
+            Select ();
         }
 
         private IEnumerable<EqualizerSetting> GetDefaultEqualizers ()
@@ -394,7 +389,7 @@ namespace Banshee.Equalizer
 
         public static readonly SchemaEntry<string> PresetSchema = new SchemaEntry<string> (
             "player_engine", "equalizer_preset",
-            "",
+            "Rock",
             "Equalizer preset",
             "Default preset to load into equalizer."
         );



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