sort accounts in accounts window
This commit is contained in:
parent
70d6d4e033
commit
2361212676
|
@ -1632,7 +1632,9 @@ class AccountsWindow:
|
||||||
self.current_account = None
|
self.current_account = None
|
||||||
model = self.accounts_treeview.get_model()
|
model = self.accounts_treeview.get_model()
|
||||||
model.clear()
|
model.clear()
|
||||||
for account in gajim.config.get_per('accounts'):
|
list_ = gajim.config.get_per('accounts')
|
||||||
|
list_.sort()
|
||||||
|
for account in list_:
|
||||||
iter_ = model.append()
|
iter_ = model.append()
|
||||||
model.set(iter_, 0, account)
|
model.set(iter_, 0, account)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue