don't unsensitive change_status_message menuitem in status ocmbobox when there are connected accounts.
This commit is contained in:
parent
0c0e28b78f
commit
7e190cd107
|
@ -282,7 +282,8 @@ class Interface:
|
|||
model = self.roster.status_combobox.get_model()
|
||||
if status == 'offline':
|
||||
# sensitivity for this menuitem
|
||||
model[self.roster.status_message_menuitem_iter][3] = False
|
||||
if gajim.get_number_of_connected_accounts() == 0:
|
||||
model[self.roster.status_message_menuitem_iter][3] = False
|
||||
gajim.block_signed_in_notifications[account] = True
|
||||
else:
|
||||
# 30 seconds after we change our status to sth else than offline
|
||||
|
|
Loading…
Reference in New Issue