manage None sound path
This commit is contained in:
parent
a22f2117bc
commit
4c2ecbd29d
|
@ -434,6 +434,7 @@ class Preferences(component.Component):
|
|||
self.gtkui_config["ntf_email"])
|
||||
self.glade.get_widget("chk_ntf_sound").set_active(
|
||||
self.gtkui_config["ntf_sound"])
|
||||
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.gtkui_config["ntf_email_add"])
|
||||
|
|
Loading…
Reference in New Issue