don't show Transport and not in the roster groups in edit groups dialog

This commit is contained in:
Yann Leboulanger 2005-06-01 20:47:01 +00:00
parent 30bd3070a2
commit ee108accf4
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ class Edit_groups_dialog:
store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_BOOLEAN)
self.list.set_model(store)
for g in self.plugin.roster.groups[self.account].keys():
if g in ['Transports', 'not in the roster']:
continue
iter = store.append()
store.set(iter, 0, g)
if g in self.user.groups: