From 7e9d446fdad251b5453c66653d501534768d69c4 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 7 Oct 2005 13:00:44 +0000 Subject: [PATCH] do not repeat the same var twice to user --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 5e72fc4bc..b9437d68c 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -625,7 +625,7 @@ class RosterWindow: if not self.get_contact_iter(contact.jid, account): self.add_contact_to_roster(contact.jid, account) self.draw_contact(contact.jid, account) - #print status in chat window and update status/GPG image + # print status in chat window and update status/GPG image if self.plugin.windows[account]['chats'].has_key(contact.jid): jid = contact.jid self.plugin.windows[account]['chats'][jid].set_state_image(jid) @@ -744,7 +744,7 @@ class RosterWindow: del gajim.contacts[account][contact.jid] return - window = dialogs.ConfirmationDialog(_('Transport "%s" will be removed') % contact.jid, _('You will no longer be able to send and receive messages to contacts from %s.' % contact.jid)) + window = dialogs.ConfirmationDialog(_('Transport "%s" will be removed') % contact.jid, _('You will no longer be able to send and receive messages to contacts from this transport.')) if window.get_response() == gtk.RESPONSE_OK: gajim.connections[account].unsubscribe_agent(contact.jid + '/' \ + contact.resource)