removing pex preference

This commit is contained in:
Marcos Pinto 2007-05-24 23:55:27 +00:00
parent bf00e75226
commit e1d1aca7a3
2 changed files with 0 additions and 3 deletions

View File

@ -61,7 +61,6 @@ class PreferencesDlg:
self.glade.get_widget("chk_upnp").set_active(self.preferences.get("enable_upnp", bool, default=True))
self.glade.get_widget("chk_dht").set_active(self.preferences.get("enable_dht", bool, default=True))
self.glade.get_widget("spin_dht").set_value(self.preferences.get("dht_connections", int, default=80))
self.glade.get_widget("chk_pex").set_active(self.preferences.get("enable_pex", bool, default=True))
self.glade.get_widget("spin_gui").set_value(self.preferences.get("gui_update_interval", float, default=1.0))
except KeyError:
pass
@ -89,7 +88,6 @@ class PreferencesDlg:
self.preferences.set("enable_upnp", self.glade.get_widget("chk_upnp").get_active())
self.preferences.set("enable_dht", self.glade.get_widget("chk_dht").get_active())
self.preferences.set("dht_connections", self.glade.get_widget("spin_dht").get_value())
self.preferences.set("enable_pex", self.glade.get_widget("chk_pex").get_active())
self.preferences.set("gui_update_interval", self.glade.get_widget("spin_gui").get_value())
def tray_toggle(self, obj):

View File

@ -35,7 +35,6 @@ DEFAULT_PREFS = {
"default_download_path" : "",
"dht_connections" : 80,
"enable_dht" : True,
"enable_pex" : True,
"enable_system_tray" : True,
"enable_upnp" : True,
"enabled_plugins" : "",