From aa369ccce3c00b281c25e1f6ec486e5d6353960a Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 17 Feb 2012 11:17:35 +0400 Subject: [PATCH] Don't cut 'xmpp:' when a copy xmpp link. --- src/conversation_textview.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index 991b1c22b..eed90ecc1 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -925,7 +925,8 @@ class ConversationTextview(gobject.GObject): childs[7].hide() # hide add to roster menuitem if kind == 'xmpp': - id_ = childs[0].connect('activate', self.on_copy_link_activate, text) + id_ = childs[0].connect('activate', self.on_copy_link_activate, + 'xmpp:' + text) self.handlers[id_] = childs[0] childs[2].hide() # copy mail address childs[3].hide() # open mail composer