[banshee] [Banshee.ThickClient] Fix setting non-local library locations



commit 9cca2019e0e78399e6b16e31714f30c3c0c16a30
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Mar 17 20:24:44 2010 -0700

    [Banshee.ThickClient] Fix setting non-local library locations

 .../DefaultPreferenceWidgets.cs                    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs b/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs
index a761bbf..26c6c4b 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs
@@ -103,12 +103,12 @@ namespace Banshee.Preferences.Gui
 
                 chooser = new FileChooserButton (Catalog.GetString ("Select library location"),
                     FileChooserAction.SelectFolder);
-                chooser.SetCurrentFolder (dir);
                 // Only set the LocalOnly property if false; setting it when true
                 // causes the "Other..." entry to be hidden in older Gtk+
                 if (!Banshee.IO.Provider.LocalOnly) {
                     chooser.LocalOnly = Banshee.IO.Provider.LocalOnly;
                 }
+                chooser.SetCurrentFolder (dir);
                 chooser.SelectionChanged += OnChooserChanged;
 
                 HBox box = new HBox ();



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