remove lsd...damnit

This commit is contained in:
Marcos Pinto 2007-11-18 09:17:55 +00:00
parent 3eab9473bf
commit 553bdcc3a6
4 changed files with 538 additions and 553 deletions

File diff suppressed because it is too large Load Diff

View File

@ -78,7 +78,7 @@ PREF_FUNCTIONS = {
"max_upload_speed_bps" : deluge_core.set_upload_rate_limit, "max_upload_speed_bps" : deluge_core.set_upload_rate_limit,
"enable_dht" : None, # not a normal pref in that is is applied only on start "enable_dht" : None, # not a normal pref in that is is applied only on start
"use_upnp" : deluge_core.use_upnp, "use_upnp" : deluge_core.use_upnp,
"use_lsd" : deluge_core.use_lsd, # "use_lsd" : deluge_core.use_lsd,
"use_natpmp" : deluge_core.use_natpmp, "use_natpmp" : deluge_core.use_natpmp,
"use_utpex" : deluge_core.use_utpex, "use_utpex" : deluge_core.use_utpex,
} }

View File

@ -100,7 +100,7 @@ class PreferencesDlg:
self.glade.get_widget("chk_tracker_proxy").set_active(self.preferences.get("tracker_proxy")) self.glade.get_widget("chk_tracker_proxy").set_active(self.preferences.get("tracker_proxy"))
self.glade.get_widget("chk_dht_proxy").set_active(self.preferences.get("dht_proxy")) self.glade.get_widget("chk_dht_proxy").set_active(self.preferences.get("dht_proxy"))
self.glade.get_widget("chk_upnp").set_active(self.preferences.get("use_upnp")) self.glade.get_widget("chk_upnp").set_active(self.preferences.get("use_upnp"))
self.glade.get_widget("chk_lsd").set_active(self.preferences.get("use_lsd")) # self.glade.get_widget("chk_lsd").set_active(self.preferences.get("use_lsd"))
self.glade.get_widget("chk_random_port").set_active(self.preferences.get("random_port")) self.glade.get_widget("chk_random_port").set_active(self.preferences.get("random_port"))
self.glade.get_widget("chk_natpmp").set_active(self.preferences.get("use_natpmp")) self.glade.get_widget("chk_natpmp").set_active(self.preferences.get("use_natpmp"))
self.glade.get_widget("chk_utpex").set_active(self.preferences.get("use_utpex")) self.glade.get_widget("chk_utpex").set_active(self.preferences.get("use_utpex"))
@ -215,7 +215,7 @@ class PreferencesDlg:
self.preferences.set("dht_proxy", self.glade.get_widget("chk_dht_proxy").get_active()) self.preferences.set("dht_proxy", self.glade.get_widget("chk_dht_proxy").get_active())
self.preferences.set("web_proxy", self.glade.get_widget("chk_web_proxy").get_active()) self.preferences.set("web_proxy", self.glade.get_widget("chk_web_proxy").get_active())
self.preferences.set("use_upnp", self.glade.get_widget("chk_upnp").get_active()) self.preferences.set("use_upnp", self.glade.get_widget("chk_upnp").get_active())
self.preferences.set("use_lsd", self.glade.get_widget("chk_lsd").get_active()) # self.preferences.set("use_lsd", self.glade.get_widget("chk_lsd").get_active())
self.preferences.set("tracker_proxy_type", self.glade.get_widget("combo_tracker_proxy_type").get_active()) self.preferences.set("tracker_proxy_type", self.glade.get_widget("combo_tracker_proxy_type").get_active())
self.preferences.set("dht_proxy_type", self.glade.get_widget("combo_dht_proxy_type").get_active()) self.preferences.set("dht_proxy_type", self.glade.get_widget("combo_dht_proxy_type").get_active())
self.preferences.set("web_proxy_type", self.glade.get_widget("combo_web_proxy_type").get_active()) self.preferences.set("web_proxy_type", self.glade.get_widget("combo_web_proxy_type").get_active())

View File

@ -124,7 +124,7 @@ if common.windows_check():
"use_default_dir" : False, "use_default_dir" : False,
"use_natpmp" : False, "use_natpmp" : False,
"use_upnp" : True, "use_upnp" : True,
"use_lsd" : True, # "use_lsd" : False,
"use_utpex" : True, "use_utpex" : True,
"new_releases" : True, "new_releases" : True,
"window_height" : 480, "window_height" : 480,
@ -235,7 +235,7 @@ else:
"use_default_dir" : False, "use_default_dir" : False,
"use_natpmp" : False, "use_natpmp" : False,
"use_upnp" : True, "use_upnp" : True,
"use_lsd" : True, # "use_lsd" : False,
"use_utpex" : True, "use_utpex" : True,
"new_releases" : True, "new_releases" : True,
"window_height" : 480, "window_height" : 480,