add some missing argument when adding a new row due to new geolocation column. Fixes #5491

This commit is contained in:
Yann Leboulanger 2009-12-07 18:50:32 +01:00
parent 07be0727de
commit 99d406c8bf
1 changed files with 3 additions and 2 deletions

View File

@ -279,7 +279,7 @@ class RosterWindow:
self.model.append(None, [ self.model.append(None, [
gajim.interface.jabber_state_images['16'][show], gajim.interface.jabber_state_images['16'][show],
_('Merged accounts'), 'account', '', 'all', _('Merged accounts'), 'account', '', 'all',
None, None, None, None, None]) None, None, None, None, None, None])
else: else:
show = gajim.SHOW_LIST[gajim.connections[account].connected] show = gajim.SHOW_LIST[gajim.connections[account].connected]
our_jid = gajim.get_jid_from_account(account) our_jid = gajim.get_jid_from_account(account)
@ -356,7 +356,8 @@ class RosterWindow:
for child_iter in parent_iters: for child_iter in parent_iters:
it = self.model.append(child_iter, (None, contact.get_shown_name(), it = self.model.append(child_iter, (None, contact.get_shown_name(),
'contact', contact.jid, account, None, None, None, None, None)) 'contact', contact.jid, account, None, None, None, None, None,
None))
added_iters.append(it) added_iters.append(it)
else: else:
# We are a normal contact. Add us to our groups. # We are a normal contact. Add us to our groups.