prefix with roster_

This commit is contained in:
Nikos Kouremenos 2005-07-21 21:19:08 +00:00
parent 247647c336
commit 3aa0363a2a
2 changed files with 12 additions and 12 deletions

View File

@ -90,10 +90,10 @@ class Config:
'chat-y-position': [opt_int, 0],
'chat-width': [opt_int, 480],
'chat-height': [opt_int, 440],
'x-position': [ opt_int, 0 ],
'y-position': [ opt_int, 0 ],
'width': [ opt_int, 150 ],
'height': [ opt_int, 400 ],
'roster_x-position': [ opt_int, 0 ],
'roster_y-position': [ opt_int, 0 ],
'roster_width': [ opt_int, 150 ],
'roster_height': [ opt_int, 400 ],
'latest_disco_addresses': [ opt_str, '' ],
'recently_groupchat': [ opt_str, '' ],
'before_time': [ opt_str, '[' ],

View File

@ -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'''
if gajim.config.get('saveposition'):
x, y = self.window.get_position()
gajim.config.set('x-position', x)
gajim.config.set('y-position', y)
gajim.config.set('roster_x-position', x)
gajim.config.set('roster_y-position', y)
width, height = self.window.get_size()
gajim.config.set('width', width)
gajim.config.set('height', height)
gajim.config.set('roster_width', width)
gajim.config.set('roster_height', height)
gajim.config.set('collapsed_rows', '\t'.join(self.collapsed_rows))
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
self.have_new_message_accel = False # Is the "Ctrl+N" shown ?
if gajim.config.get('saveposition'):
self.window.move(gajim.config.get('x-position'),
gajim.config.get('y-position'))
self.window.resize(gajim.config.get('width'),
gajim.config.get('height'))
self.window.move(gajim.config.get('roster_x-position'),
gajim.config.get('roster_y-position'))
self.window.resize(gajim.config.get('roster_width'),
gajim.config.get('roster_height'))
self.popups_notification_height = 0
self.popup_notification_windows = []