Fix issue where folder chooser buttons show the path's parent and not the actual selected path.

This commit is contained in:
Andrew Resch 2008-04-08 03:48:45 +00:00
parent b376786782
commit 126208b416

View File

@ -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"))