Skip to content
Snippets Groups Projects
Commit ee108acc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent 30bd3070
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment