initialize the ignore_messages_from_unknown_contacts checkbutton in preferences window

This commit is contained in:
Yann Leboulanger 2005-03-21 21:01:03 +00:00
parent 73310eaa58
commit c231084e18
1 changed files with 4 additions and 0 deletions

View File

@ -849,6 +849,10 @@ class preferences_window:
self.auto_pp_away_checkbutton.set_active(st) self.auto_pp_away_checkbutton.set_active(st)
self.auto_pp_away_checkbutton.set_sensitive(self.plugin.config['autopopup']) self.auto_pp_away_checkbutton.set_sensitive(self.plugin.config['autopopup'])
#Ignore messages from unknown contacts
self.xml.get_widget('ignore_events_from_unknown_contacts_checkbutton').\
set_active(self.plugin.config['ignore_unknown_contacts'])
#sound player #sound player
self.xml.get_widget('soundplayer_entry').set_text(\ self.xml.get_widget('soundplayer_entry').set_text(\
self.plugin.config['soundplayer']) self.plugin.config['soundplayer'])