From b142a1eaf93f10ce87d96ae58acb6a21bf53118d Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 9 Dec 2008 11:04:05 +0000 Subject: [PATCH] Do not apply the set-function for 'show_rate_in_title' on startup --- deluge/ui/gtkui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/mainwindow.py b/deluge/ui/gtkui/mainwindow.py index 037ff7c24..08306ad9a 100644 --- a/deluge/ui/gtkui/mainwindow.py +++ b/deluge/ui/gtkui/mainwindow.py @@ -72,7 +72,7 @@ class MainWindow(component.Component): self.vpaned.connect("notify::position", self.on_vpaned_position_event) self.window.connect("expose-event", self.on_expose_event) - self.config.register_set_function("show_rate_in_title", self._on_set_show_rate_in_title) + self.config.register_set_function("show_rate_in_title", self._on_set_show_rate_in_title, apply_now=False) if not(self.config["start_in_tray"] and \ self.config["enable_system_tray"]) and not \