do not repeat the same var twice to user
This commit is contained in:
parent
b9dc709800
commit
7e9d446fda
|
@ -744,7 +744,7 @@ class RosterWindow:
|
||||||
del gajim.contacts[account][contact.jid]
|
del gajim.contacts[account][contact.jid]
|
||||||
return
|
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:
|
if window.get_response() == gtk.RESPONSE_OK:
|
||||||
gajim.connections[account].unsubscribe_agent(contact.jid + '/' \
|
gajim.connections[account].unsubscribe_agent(contact.jid + '/' \
|
||||||
+ contact.resource)
|
+ contact.resource)
|
||||||
|
|
Loading…
Reference in New Issue