never move roster window outside of screen. Fixes #5646

This commit is contained in:
Yann Leboulanger 2010-03-10 13:28:51 +01:00
parent ce039ff2eb
commit 31d1d35b17
1 changed files with 2 additions and 1 deletions

View File

@ -384,7 +384,8 @@ class StatusIcon:
else: else:
if not win.get_property('visible'): if not win.get_property('visible'):
win.show_all() win.show_all()
win.move(gajim.config.get('roster_x-position'), gtkgui_helpers.move_window(win,
gajim.config.get('roster_x-position'),
gajim.config.get('roster_y-position')) gajim.config.get('roster_y-position'))
if not gajim.config.get('roster_window_skip_taskbar'): if not gajim.config.get('roster_window_skip_taskbar'):
win.set_property('skip-taskbar-hint', False) win.set_property('skip-taskbar-hint', False)