From 829294cc8077b8cba7cc6a7a37e0be08e2d789e2 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 17 Jun 2007 21:51:03 +0000 Subject: [PATCH] oops, one more file --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index d8776ceac..e58a3a54f 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -77,7 +77,7 @@ class PreferencesDlg: self.glade.get_widget("spin_max_upload").set_value(self.preferences.get("max_upload_rate", int, default=-1)) self.glade.get_widget("spin_num_upload").set_value(self.preferences.get("max_number_uploads", int, default=-1)) self.glade.get_widget("spin_max_download").set_value(self.preferences.get("max_download_rate", int, default=-1)) - self.glade.get_widget("spin_num_download").set_value(self.preferences.get("max_number_downloads", int, default=-1)) + self.glade.get_widget("spin_max_connections").set_value(self.preferences.get("max_connections", int, default=-1)) self.glade.get_widget("spin_proxy_port").set_value(self.preferences.get("proxy_port", int, default=8080)) self.glade.get_widget("spin_torrents").set_value(self.preferences.get("max_number_torrents", int, default=-1)) self.glade.get_widget("chk_seedbottom").set_active(self.preferences.get("queue_seeds_to_bottom", bool, default=False)) @@ -119,7 +119,7 @@ class PreferencesDlg: self.preferences.set("max_number_uploads", self.glade.get_widget("spin_num_upload").get_value()) self.preferences.set("max_download_rate", self.glade.get_widget("spin_max_download").get_value()) self.preferences.set("proxy_port", self.glade.get_widget("spin_proxy_port").get_value()) - self.preferences.set("max_number_downloads", self.glade.get_widget("spin_num_download").get_value()) + 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())