[jim++]. sort accounts in trayicon tooltip. fixes #1734

This commit is contained in:
Nikos Kouremenos 2006-03-24 18:58:37 +00:00
parent 40e13f0bb1
commit 19e078878c
1 changed files with 3 additions and 1 deletions

View File

@ -232,7 +232,9 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable):
def get_accounts_info(self):
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
# uncomment the following to hide offline accounts
# if status_idx == 0: continue