mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
manage None sound path
This commit is contained in:
parent
a22f2117bc
commit
4c2ecbd29d
1 changed files with 2 additions and 1 deletions
|
@ -434,7 +434,8 @@ class Preferences(component.Component):
|
||||||
self.gtkui_config["ntf_email"])
|
self.gtkui_config["ntf_email"])
|
||||||
self.glade.get_widget("chk_ntf_sound").set_active(
|
self.glade.get_widget("chk_ntf_sound").set_active(
|
||||||
self.gtkui_config["ntf_sound"])
|
self.gtkui_config["ntf_sound"])
|
||||||
self.glade.get_widget("combo_ntf_sound_path").set_filename(self.gtkui_config["ntf_sound_path"])
|
if self.gtkui_config["ntf_sound_path"]:
|
||||||
|
self.glade.get_widget("combo_ntf_sound_path").set_filename(self.gtkui_config["ntf_sound_path"])
|
||||||
self.glade.get_widget("txt_ntf_email").set_text(
|
self.glade.get_widget("txt_ntf_email").set_text(
|
||||||
self.gtkui_config["ntf_email_add"])
|
self.gtkui_config["ntf_email_add"])
|
||||||
self.glade.get_widget("txt_ntf_server").set_text(
|
self.glade.get_widget("txt_ntf_server").set_text(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue