Skip to content
Snippets Groups Projects
Commit d39055fe authored by jimpp's avatar jimpp
Browse files

Sorted merged account line right click -> account_list

parent 8decfc44
No related branches found
No related tags found
No related merge requests found
...@@ -1578,7 +1578,11 @@ class RosterWindow: ...@@ -1578,7 +1578,11 @@ class RosterWindow:
if not iconset: if not iconset:
iconset = DEFAULT_ICONSET iconset = DEFAULT_ICONSET
path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16') path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16')
accounts = [] # Put accounts in a list to sort them
for account in gajim.connections: for account in gajim.connections:
accounts.append(account)
accounts.sort()
for account in accounts:
state_images = self.load_iconset(path) state_images = self.load_iconset(path)
item = gtk.ImageMenuItem(account) item = gtk.ImageMenuItem(account)
show = gajim.SHOW_LIST[gajim.connections[account].connected] show = gajim.SHOW_LIST[gajim.connections[account].connected]
......
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