From 126208b41653f086f258ad0b14eb042edd94e896 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 8 Apr 2008 03:48:45 +0000 Subject: [PATCH] Fix issue where folder chooser buttons show the path's parent and not the actual selected path. --- src/dialogs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 63907ae74..2220aca3d 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -111,9 +111,9 @@ class PreferencesDlg: self.glade.get_widget("txt_web_proxy_hostname").set_text(self.preferences.get("web_proxy_hostname")) self.glade.get_widget("txt_web_proxy_username").set_text(self.preferences.get("web_proxy_username")) self.glade.get_widget("txt_web_proxy_password").set_text(self.preferences.get("web_proxy_password")) - self.glade.get_widget("autoload_path_button").set_filename(self.preferences.get("default_autoload_path")) - self.glade.get_widget("download_path_button").set_filename(self.preferences.get("default_download_path")) - self.glade.get_widget("torrent_path_button").set_filename(self.preferences.get("default_torrent_path")) + self.glade.get_widget("autoload_path_button").set_current_folder(self.preferences.get("default_autoload_path")) + self.glade.get_widget("download_path_button").set_current_folder(self.preferences.get("default_download_path")) + self.glade.get_widget("torrent_path_button").set_current_folder(self.preferences.get("default_torrent_path")) self.glade.get_widget("chk_enable_files_dialog").set_active(self.preferences.get("enable_files_dialog")) self.glade.get_widget("chk_enable_multi_only").set_active(self.preferences.get("enable_multi_only")) self.glade.get_widget("chk_prioritize_first_last_pieces").set_active(self.preferences.get("prioritize_first_last_pieces"))