initialize minimize_on_autojoin to False when we add a new bookmark

This commit is contained in:
Yann Leboulanger 2007-06-19 17:31:47 +00:00
parent 2c6b7494cc
commit e65bca1049
2 changed files with 2 additions and 1 deletions

View File

@ -1341,7 +1341,7 @@ class JoinGroupchatWindow:
if not room_jid_bookmarked: if not room_jid_bookmarked:
name = gajim.get_nick_from_jid(room_jid) name = gajim.get_nick_from_jid(room_jid)
bmdict = { 'name': name, 'jid': room_jid, 'autojoin': u'1', bmdict = { 'name': name, 'jid': room_jid, 'autojoin': u'1',
'password': password, 'nick': nickname, 'minimize': '0', 'password': password, 'nick': nickname,
'print_status': gajim.config.get('print_status_in_muc')} 'print_status': gajim.config.get('print_status_in_muc')}
gajim.connections[self.account].bookmarks.append(bmdict) gajim.connections[self.account].bookmarks.append(bmdict)

View File

@ -1597,6 +1597,7 @@ class GroupchatControl(ChatControlBase):
'name': self.name, 'name': self.name,
'jid': self.room_jid, 'jid': self.room_jid,
'autojoin': '0', 'autojoin': '0',
'minimize': '0',
'password': '', 'password': '',
'nick': self.nick 'nick': self.nick
} }