roster postion is saved when roster
window is not visible
This commit is contained in:
parent
9bfdf092e8
commit
b093ce9da7
|
@ -1520,7 +1520,7 @@ _('If "%s" accepts this request you will know his status.') %jid)
|
||||||
'''When we quit the gtk plugin :
|
'''When we quit the gtk plugin :
|
||||||
tell that to the core and exit gtk'''
|
tell that to the core and exit gtk'''
|
||||||
if gajim.config.get('saveposition'):
|
if gajim.config.get('saveposition'):
|
||||||
x, y = self.window.get_position()
|
x, y = self.window.window.get_root_origin()
|
||||||
gajim.config.set('roster_x-position', x)
|
gajim.config.set('roster_x-position', x)
|
||||||
gajim.config.set('roster_y-position', y)
|
gajim.config.set('roster_y-position', y)
|
||||||
width, height = self.window.get_size()
|
width, height = self.window.get_size()
|
||||||
|
|
Loading…
Reference in New Issue