gajim: prevent traceback with metacontacts. Fixes #6902, #5910

2011-06-15 Thread Yann Leboulanger
changeset 73a053432c2b in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=73a053432c2b
description: prevent traceback with metacontacts. Fixes #6902, #5910

diffstat:

 src/roster_window.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r f19deb09f7db -r 73a053432c2b src/roster_window.py
--- a/src/roster_window.py  Tue Jun 14 19:28:13 2011 +0200
+++ b/src/roster_window.py  Wed Jun 15 12:20:23 2011 +0200
@@ -1409,9 +1409,10 @@
 self._iters = {}
 # for merged mode
 self._iters['MERGED'] = {'account': None, 'groups': {}}
-
 for acct in gajim.contacts.get_accounts():
 self._iters[acct] = {'account': None, 'groups': {}, 'contacts': {}}
+
+for acct in gajim.contacts.get_accounts():
 self.add_account(acct)
 self.add_account_contacts(acct)
 
___
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits


gajim: prevent traceback with metacontacts. Fixes #6902, #5910

2011-06-15 Thread Yann Leboulanger
changeset 8148ba147f21 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=8148ba147f21
description: prevent traceback with metacontacts. Fixes #6902, #5910

diffstat:

 src/roster_window.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 73523ed11fc3 -r 8148ba147f21 src/roster_window.py
--- a/src/roster_window.py  Tue Jun 14 19:17:39 2011 +0200
+++ b/src/roster_window.py  Wed Jun 15 12:20:23 2011 +0200
@@ -1418,9 +1418,10 @@
 self._iters = {}
 # for merged mode
 self._iters['MERGED'] = {'account': None, 'groups': {}}
-
 for acct in gajim.contacts.get_accounts():
 self._iters[acct] = {'account': None, 'groups': {}, 'contacts': {}}
+
+for acct in gajim.contacts.get_accounts():
 self.add_account(acct)
 self.add_account_contacts(acct)
 
___
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits