Don't cut 'xmpp:' when a copy xmpp link.

This commit is contained in:
Denis Fomin 2012-02-17 11:17:35 +04:00
parent 4d95c77106
commit aa369ccce3
1 changed files with 2 additions and 1 deletions

View File

@ -925,7 +925,8 @@ class ConversationTextview(gobject.GObject):
childs[7].hide() # hide add to roster menuitem childs[7].hide() # hide add to roster menuitem
if kind == 'xmpp': 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] self.handlers[id_] = childs[0]
childs[2].hide() # copy mail address childs[2].hide() # copy mail address
childs[3].hide() # open mail composer childs[3].hide() # open mail composer