diff --git a/deluge/plugins/extractor/extractor/gtkui.py b/deluge/plugins/extractor/extractor/gtkui.py index 9e3bf617b..bce7667fa 100644 --- a/deluge/plugins/extractor/extractor/gtkui.py +++ b/deluge/plugins/extractor/extractor/gtkui.py @@ -65,7 +65,7 @@ class GtkUI(GtkPluginBase): def on_apply_prefs(self): log.debug("applying prefs for Extractor") if client.is_localhost(): - path = self.glade.get_widget("folderchooser_path").get_current_folder() + path = self.glade.get_widget("folderchooser_path").get_filename() else: path = self.glade.get_widget("entry_path").get_text() @@ -89,7 +89,7 @@ class GtkUI(GtkPluginBase): self.glade.get_widget("folderchooser_path").set_current_folder(config["extract_path"]) else: self.glade.get_widget("entry_path").set_text(config["extract_path"]) - + self.glade.get_widget("chk_use_name").set_active(config["use_name_folder"]) client.extractor.get_config().addCallback(on_get_config) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 32bc0be3e..a26acf056 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -405,7 +405,7 @@ class AddTorrentDialog(component.Component): if client.is_localhost(): options["download_location"] = \ - self.glade.get_widget("button_location").get_current_folder() + self.glade.get_widget("button_location").get_filename() else: options["download_location"] = \ self.glade.get_widget("entry_download_path").get_text() diff --git a/deluge/ui/gtkui/options_tab.py b/deluge/ui/gtkui/options_tab.py index 6ea769171..8e9eaef2e 100644 --- a/deluge/ui/gtkui/options_tab.py +++ b/deluge/ui/gtkui/options_tab.py @@ -179,7 +179,7 @@ class OptionsTab(Tab): client.core.set_torrent_move_completed(self.prev_torrent_id, self.chk_move_completed.get_active()) if self.chk_move_completed.get_active(): if client.is_localhost(): - path = self.filechooser_move_completed.get_current_folder() + path = self.filechooser_move_completed.get_filename() else: path = self.entry_move_completed.get_text() client.core.set_torrent_move_completed_path(self.prev_torrent_id, path)