From 43d5db86da2a531c88a4dbdba347de093d4b2ec5 Mon Sep 17 00:00:00 2001
From: Denis Fomin <fominde@gmail.com>
Date: Fri, 17 Feb 2012 10:58:19 +0400
Subject: [PATCH] Add copy link location context menu item for xmpp links.
 Fixes #7105

---
 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 bc76c92039..d05cc2711b 100644
--- a/src/conversation_textview.py
+++ b/src/conversation_textview.py
@@ -934,7 +934,8 @@ class ConversationTextview(gobject.GObject):
                 childs[6].hide() # join group chat
                 childs[7].hide() # add to roster
 
-            childs[0].hide() # copy link location
+            if kind != 'xmpp':
+                childs[0].hide() # copy link location
             childs[1].hide() # open link in browser
 
         menu.popup(None, None, None, event.button, event.time)
-- 
GitLab