ACE: roster_window_skip_taskbar
This commit is contained in:
parent
7736cb8824
commit
af242e3840
2 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,7 @@ class Config:
|
||||||
'log_contact_status_changes': [opt_bool, False],
|
'log_contact_status_changes': [opt_bool, False],
|
||||||
'restored_messages_color': [opt_str, 'grey'],
|
'restored_messages_color': [opt_str, 'grey'],
|
||||||
'hide_avatar_of_transport': [opt_bool, False],
|
'hide_avatar_of_transport': [opt_bool, False],
|
||||||
|
'roster_window_skip_taskbar': [opt_bool, False],
|
||||||
}
|
}
|
||||||
|
|
||||||
__options_per_key = {
|
__options_per_key = {
|
||||||
|
|
|
@ -2550,6 +2550,8 @@ _('If "%s" accepts this request you will know his or her status.') %jid)
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_window', APP)
|
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_window', APP)
|
||||||
self.window = self.xml.get_widget('roster_window')
|
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 = self.xml.get_widget('roster_treeview')
|
||||||
self.tree.get_selection().connect('changed',
|
self.tree.get_selection().connect('changed',
|
||||||
self._on_treeview_selection_changed)
|
self._on_treeview_selection_changed)
|
||||||
|
|
Loading…
Add table
Reference in a new issue