From 80b66e13fbafc246e5b0b4044cdb7a981936fb56 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 31 Jul 2005 17:16:39 +0000 Subject: [PATCH] fix string --- src/roster_window.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 98a91ff2e..a7ac20734 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1258,12 +1258,13 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response() '''When we change our status''' model = self.status_combobox.get_model() active = self.status_combobox.get_active() - if active < 0: + if active == -1: # no active item return accounts = gajim.connections.keys() if len(accounts) == 0: - dialogs.ErrorDialog(_('No accounts created'), - _('You must create Jabber account before connecting the server.')).get_response() + dialogs.ErrorDialog(_('No account available'), + _('You must create an account before you can chat with other contacts.') + ).get_response() self.update_status_comboxbox() return status = model[active][2]