don't unsensitive change_status_message menuitem in status ocmbobox when there are connected accounts.

This commit is contained in:
Yann Leboulanger 2006-04-23 17:36:33 +00:00
parent 0c0e28b78f
commit 7e190cd107
1 changed files with 2 additions and 1 deletions

View File

@ -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