From 06758b2b860441437436c52795ac2ca1b6e276d3 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 19 Jun 2007 08:51:21 +0000 Subject: [PATCH] fix auto seed ratio stuff --- src/dialogs.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index e11e610b5..4a33df13c 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -112,7 +112,7 @@ class PreferencesDlg: self.preferences.set("use_default_dir", self.glade.get_widget("radio_save_all_to").get_active()) self.preferences.set("default_download_path", self.glade.get_widget("download_path_button").get_filename()) self.preferences.set("auto_end_seeding", self.glade.get_widget("chk_autoseed").get_active()) - self.preferences.set("end_seed_ratio", self.glade.get_widget("ratio_spinner").get_value()) + self.preferences.set("auto_seed_ratio", self.glade.get_widget("ratio_spinner").get_value()) self.preferences.set("use_compact_storage", self.glade.get_widget("chk_compact").get_active()) self.preferences.set("listen_on", [self.glade.get_widget("spin_port_min").get_value(), self.glade.get_widget("spin_port_max").get_value()]) self.preferences.set("max_upload_rate", self.glade.get_widget("spin_max_upload").get_value()) @@ -122,8 +122,6 @@ class PreferencesDlg: self.preferences.set("max_connections", self.glade.get_widget("spin_max_connections").get_value()) self.preferences.set("max_number_torrents", self.glade.get_widget("spin_torrents").get_value()) self.preferences.set("queue_seeds_to_bottom", self.glade.get_widget("chk_seedbottom").get_active()) - self.preferences.set("auto_end_seeding", self.glade.get_widget("chk_autoseed").get_active()) - self.preferences.set("auto_seed_ratio", self.glade.get_widget("ratio_spinner").get_value()) self.preferences.set("enable_dht", self.glade.get_widget("chk_dht").get_active()) self.preferences.set("gui_update_interval", self.glade.get_widget("spin_gui").get_value())