fix string
This commit is contained in:
parent
f198b6d9f5
commit
80b66e13fb
1 changed files with 4 additions and 3 deletions
|
@ -1258,12 +1258,13 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
|
||||||
'''When we change our status'''
|
'''When we change our status'''
|
||||||
model = self.status_combobox.get_model()
|
model = self.status_combobox.get_model()
|
||||||
active = self.status_combobox.get_active()
|
active = self.status_combobox.get_active()
|
||||||
if active < 0:
|
if active == -1: # no active item
|
||||||
return
|
return
|
||||||
accounts = gajim.connections.keys()
|
accounts = gajim.connections.keys()
|
||||||
if len(accounts) == 0:
|
if len(accounts) == 0:
|
||||||
dialogs.ErrorDialog(_('No accounts created'),
|
dialogs.ErrorDialog(_('No account available'),
|
||||||
_('You must create Jabber account before connecting the server.')).get_response()
|
_('You must create an account before you can chat with other contacts.')
|
||||||
|
).get_response()
|
||||||
self.update_status_comboxbox()
|
self.update_status_comboxbox()
|
||||||
return
|
return
|
||||||
status = model[active][2]
|
status = model[active][2]
|
||||||
|
|
Loading…
Add table
Reference in a new issue