manage None sound path

This commit is contained in:
Marcos Pinto 2008-08-05 02:47:47 +00:00
parent a22f2117bc
commit 4c2ecbd29d
1 changed files with 2 additions and 1 deletions

View File

@ -434,7 +434,8 @@ class Preferences(component.Component):
self.gtkui_config["ntf_email"])
self.glade.get_widget("chk_ntf_sound").set_active(
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.gtkui_config["ntf_email_add"])
self.glade.get_widget("txt_ntf_server").set_text(