Fix roster size(gajim in one window mode) in fullscreen mode and in tiling wm. Fixes #7315
This commit is contained in:
parent
e59c4bbfad
commit
f8ea97203a
|
@ -162,6 +162,7 @@ class Config:
|
|||
'roster_y-position': [ opt_int, 0 ],
|
||||
'roster_width': [ opt_int, 200 ],
|
||||
'roster_height': [ opt_int, 400 ],
|
||||
'roster_hpaned_position': [opt_int, 200],
|
||||
'history_window_width': [ opt_int, 650 ],
|
||||
'history_window_height': [ opt_int, 450 ],
|
||||
'history_window_x-position': [ opt_int, 0 ],
|
||||
|
|
|
@ -1005,7 +1005,7 @@ class MessageWindowMgr(GObject.GObject):
|
|||
return
|
||||
win.resize(size[0], size[1])
|
||||
if win.parent_paned:
|
||||
win.parent_paned.set_position(parent_size[0])
|
||||
win.parent_paned.set_position(gajim.config.get('roster_hpaned_position'))
|
||||
|
||||
def _position_window(self, win, acct, type_):
|
||||
"""
|
||||
|
|
|
@ -4505,6 +4505,7 @@ class RosterWindow:
|
|||
if gparamspec and gparamspec.name == 'position':
|
||||
roster_width = pane.get_child1().get_allocation().width
|
||||
gajim.config.set('roster_width', roster_width)
|
||||
gajim.config.set('roster_hpaned_position', pane.get_position())
|
||||
|
||||
################################################################################
|
||||
### Drag and Drop handling
|
||||
|
|
Loading…
Reference in New Issue