ACE: roster_window_skip_taskbar

This commit is contained in:
Nikos Kouremenos 2005-12-27 20:27:02 +00:00
parent 7736cb8824
commit af242e3840
2 changed files with 3 additions and 0 deletions

View file

@ -171,6 +171,7 @@ class Config:
'log_contact_status_changes': [opt_bool, False],
'restored_messages_color': [opt_str, 'grey'],
'hide_avatar_of_transport': [opt_bool, False],
'roster_window_skip_taskbar': [opt_bool, False],
}
__options_per_key = {

View file

@ -2550,6 +2550,8 @@ _('If "%s" accepts this request you will know his or her status.') %jid)
def __init__(self):
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_window', APP)
self.window = self.xml.get_widget('roster_window')
if gajim.config.get('roster_window_skip_taskbar'):
self.window.set_property('skip-taskbar-hint', True)
self.tree = self.xml.get_widget('roster_treeview')
self.tree.get_selection().connect('changed',
self._on_treeview_selection_changed)