mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
make sound not sensitive on windows
This commit is contained in:
parent
99065bf452
commit
64aeb867a4
@ -119,6 +119,8 @@ class TorrentNotification:
|
|||||||
if deluge.common.windows_check():
|
if deluge.common.windows_check():
|
||||||
self.glade.get_widget("chk_notification").set_active(False)
|
self.glade.get_widget("chk_notification").set_active(False)
|
||||||
self.glade.get_widget("chk_notification").set_sensitive(False)
|
self.glade.get_widget("chk_notification").set_sensitive(False)
|
||||||
|
self.glade.get_widget("chk_sound").set_active(False)
|
||||||
|
self.glade.get_widget("sound_path_button").set_sensitive(False)
|
||||||
else:
|
else:
|
||||||
self.glade.get_widget("chk_notification").set_active(self.config.get("enable_notification"))
|
self.glade.get_widget("chk_notification").set_active(self.config.get("enable_notification"))
|
||||||
self.glade.get_widget("chk_sound").set_active(self.config.get("enable_sound"))
|
self.glade.get_widget("chk_sound").set_active(self.config.get("enable_sound"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user