Fix showing Preferences dialog in Windows

This commit is contained in:
Andrew Resch 2009-03-02 01:46:22 +00:00
parent 237e44d73f
commit 8d863f2e3c
1 changed files with 1 additions and 1 deletions

View File

@ -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"])