parent
618b0b87c2
commit
64d743de3e
1 changed files with 2 additions and 2 deletions
|
@ -245,7 +245,7 @@ class StatusIcon:
|
||||||
|
|
||||||
for account in accounts_list:
|
for account in accounts_list:
|
||||||
account_label = app.config.get_per(
|
account_label = app.config.get_per(
|
||||||
'accounts', account, 'account_label')
|
'accounts', account, 'account_label') or account
|
||||||
if app.account_is_connected(account):
|
if app.account_is_connected(account):
|
||||||
# for chat_with
|
# for chat_with
|
||||||
item = Gtk.MenuItem.new_with_label(
|
item = Gtk.MenuItem.new_with_label(
|
||||||
|
@ -291,7 +291,7 @@ class StatusIcon:
|
||||||
|
|
||||||
for account in accounts_list:
|
for account in accounts_list:
|
||||||
account_label = app.config.get_per(
|
account_label = app.config.get_per(
|
||||||
'accounts', account, 'account_label')
|
'accounts', account, 'account_label') or account
|
||||||
if app.connections[account].is_zeroconf or \
|
if app.connections[account].is_zeroconf or \
|
||||||
not app.account_is_connected(account):
|
not app.account_is_connected(account):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Reference in a new issue