prefix with roster_
This commit is contained in:
parent
247647c336
commit
3aa0363a2a
|
@ -90,10 +90,10 @@ class Config:
|
||||||
'chat-y-position': [opt_int, 0],
|
'chat-y-position': [opt_int, 0],
|
||||||
'chat-width': [opt_int, 480],
|
'chat-width': [opt_int, 480],
|
||||||
'chat-height': [opt_int, 440],
|
'chat-height': [opt_int, 440],
|
||||||
'x-position': [ opt_int, 0 ],
|
'roster_x-position': [ opt_int, 0 ],
|
||||||
'y-position': [ opt_int, 0 ],
|
'roster_y-position': [ opt_int, 0 ],
|
||||||
'width': [ opt_int, 150 ],
|
'roster_width': [ opt_int, 150 ],
|
||||||
'height': [ opt_int, 400 ],
|
'roster_height': [ opt_int, 400 ],
|
||||||
'latest_disco_addresses': [ opt_str, '' ],
|
'latest_disco_addresses': [ opt_str, '' ],
|
||||||
'recently_groupchat': [ opt_str, '' ],
|
'recently_groupchat': [ opt_str, '' ],
|
||||||
'before_time': [ opt_str, '[' ],
|
'before_time': [ opt_str, '[' ],
|
||||||
|
|
|
@ -1505,11 +1505,11 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
|
||||||
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.get_position()
|
||||||
gajim.config.set('x-position', x)
|
gajim.config.set('roster_x-position', x)
|
||||||
gajim.config.set('y-position', y)
|
gajim.config.set('roster_y-position', y)
|
||||||
width, height = self.window.get_size()
|
width, height = self.window.get_size()
|
||||||
gajim.config.set('width', width)
|
gajim.config.set('roster_width', width)
|
||||||
gajim.config.set('height', height)
|
gajim.config.set('roster_height', height)
|
||||||
|
|
||||||
gajim.config.set('collapsed_rows', '\t'.join(self.collapsed_rows))
|
gajim.config.set('collapsed_rows', '\t'.join(self.collapsed_rows))
|
||||||
self.plugin.save_config()
|
self.plugin.save_config()
|
||||||
|
@ -1985,10 +1985,10 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
|
||||||
# no need of this variable
|
# no need of this variable
|
||||||
self.have_new_message_accel = False # Is the "Ctrl+N" shown ?
|
self.have_new_message_accel = False # Is the "Ctrl+N" shown ?
|
||||||
if gajim.config.get('saveposition'):
|
if gajim.config.get('saveposition'):
|
||||||
self.window.move(gajim.config.get('x-position'),
|
self.window.move(gajim.config.get('roster_x-position'),
|
||||||
gajim.config.get('y-position'))
|
gajim.config.get('roster_y-position'))
|
||||||
self.window.resize(gajim.config.get('width'),
|
self.window.resize(gajim.config.get('roster_width'),
|
||||||
gajim.config.get('height'))
|
gajim.config.get('roster_height'))
|
||||||
|
|
||||||
self.popups_notification_height = 0
|
self.popups_notification_height = 0
|
||||||
self.popup_notification_windows = []
|
self.popup_notification_windows = []
|
||||||
|
|
Loading…
Reference in New Issue