From 72add9da107100ba53c2ed3e12aa2d91116f26a9 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Thu, 3 Jul 2008 03:21:34 +0000 Subject: [PATCH] fix do_update for classic mode --- deluge/ui/gtkui/connectionmanager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/connectionmanager.py b/deluge/ui/gtkui/connectionmanager.py index 6052b447c..a7ad78246 100644 --- a/deluge/ui/gtkui/connectionmanager.py +++ b/deluge/ui/gtkui/connectionmanager.py @@ -118,6 +118,9 @@ class ConnectionManager(component.Component): self.on_selection_changed) # If classic mode is set, we just start up a localhost daemon and connect to it + # This controls the timer, if it's set to false the update timer will stop. + self._do_update = True + if self.gtkui_config["classic_mode"]: uri = "http://localhost:58846" os.popen("deluged -p 58846") @@ -129,8 +132,6 @@ class ConnectionManager(component.Component): self.hide() return - # This controls the timer, if it's set to false the update timer will stop. - self._do_update = True self._update() # Auto connect to a host if applicable