From 50fa1ff1a9f1d5daf322b6c97f91a3c15c3f27a5 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 29 Jan 2008 07:17:19 +0000 Subject: [PATCH] add dht to config_value_changed --- deluge/ui/gtkui/statusbar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/statusbar.py b/deluge/ui/gtkui/statusbar.py index 6fe7ff926..4d4d8aa15 100644 --- a/deluge/ui/gtkui/statusbar.py +++ b/deluge/ui/gtkui/statusbar.py @@ -109,7 +109,8 @@ class StatusBar(component.Component): self.config_value_changed_dict = { "max_connections_global": self._on_max_connections_global, "max_download_speed": self._on_max_download_speed, - "max_upload_speed": self._on_max_upload_speed + "max_upload_speed": self._on_max_upload_speed, + "dht": self._on_get_dht_nodes } # Add a HBox to the statusbar after removing the initial label widget self.hbox = gtk.HBox()