Changeset 9868
- Timestamp:
- 06/30/08 23:27:04 (3 months ago)
- Files:
-
- 1 modified
-
trunk/src/roster_window.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/roster_window.py
r9856 r9868 389 389 390 390 assert len(added_iters), '%s has not been added to roster!' % contact.jid 391 for titer in added_iters: 392 assert self.model[titer][C_JID] == contact.jid and \ 393 self.model[titer][C_ACCOUNT] == account, \ 394 "Iters invalidated for %s" % contact.jid 391 395 return added_iters 392 396 … … 425 429 # Remove us and empty groups from the model 426 430 for i in iters: 431 assert self.model[i][C_JID] == contact.jid and \ 432 self.model[i][C_ACCOUNT] == account, \ 433 "Invalidated iters of %s" % contact.jid 427 434 parent_i = self.model.iter_parent(i) 428 435 if parent_type == 'group' and \ … … 1160 1167 def setup_and_draw_roster(self): 1161 1168 '''create new empty model and draw roster''' 1169 self.modelfilter = None 1162 1170 #(icon, name, type, jid, account, editable, avatar_pixbuf, padlock_pixbuf) 1163 1171 self.model = gtk.TreeStore(gtk.Image, str, str, str, str, gtk.gdk.Pixbuf,
