[jim++]. sort accounts in trayicon tooltip. fixes #1734
This commit is contained in:
parent
40e13f0bb1
commit
19e078878c
|
@ -232,7 +232,9 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable):
|
||||||
|
|
||||||
def get_accounts_info(self):
|
def get_accounts_info(self):
|
||||||
accounts = []
|
accounts = []
|
||||||
for account in gajim.contacts.get_accounts():
|
accounts_list = gajim.contacts.get_accounts()
|
||||||
|
accounts_list.sort()
|
||||||
|
for account in accounts_list:
|
||||||
status_idx = gajim.connections[account].connected
|
status_idx = gajim.connections[account].connected
|
||||||
# uncomment the following to hide offline accounts
|
# uncomment the following to hide offline accounts
|
||||||
# if status_idx == 0: continue
|
# if status_idx == 0: continue
|
||||||
|
|
Loading…
Reference in New Issue