mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
make popup insensitive on windows
This commit is contained in:
parent
675aed2094
commit
f96fb69fda
1 changed files with 5 additions and 2 deletions
|
@ -433,6 +433,9 @@ class Preferences(component.Component):
|
||||||
## Notification tab ##
|
## Notification tab ##
|
||||||
self.glade.get_widget("chk_ntf_tray_blink").set_active(
|
self.glade.get_widget("chk_ntf_tray_blink").set_active(
|
||||||
self.gtkui_config["ntf_tray_blink"])
|
self.gtkui_config["ntf_tray_blink"])
|
||||||
|
if deluge.common.windows_check():
|
||||||
|
self.gtkui_config["ntf_popup"].set_sensitive(False)
|
||||||
|
else:
|
||||||
self.glade.get_widget("chk_ntf_popup").set_active(
|
self.glade.get_widget("chk_ntf_popup").set_active(
|
||||||
self.gtkui_config["ntf_popup"])
|
self.gtkui_config["ntf_popup"])
|
||||||
self.glade.get_widget("chk_ntf_email").set_active(
|
self.glade.get_widget("chk_ntf_email").set_active(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue