From 8d863f2e3cedceb6d8317b9d04189ec079a6daf1 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 2 Mar 2009 01:46:22 +0000 Subject: [PATCH] Fix showing Preferences dialog in Windows --- deluge/ui/gtkui/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index 419709062..dbaee3a29 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -435,7 +435,7 @@ class Preferences(component.Component): self.glade.get_widget("chk_ntf_tray_blink").set_active( self.gtkui_config["ntf_tray_blink"]) if deluge.common.windows_check(): - self.gtkui_config["ntf_popup"].set_sensitive(False) + self.glade.get_widget("chk_ntf_popup").set_sensitive(False) else: self.glade.get_widget("chk_ntf_popup").set_active( self.gtkui_config["ntf_popup"])