Connect signal to copy link location context menu item for xmpp links. Fixes #7105
This commit is contained in:
		
							parent
							
								
									43d5db86da
								
							
						
					
					
						commit
						4d95c77106
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -925,6 +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)
 | 
			
		||||
                self.handlers[id_] = childs[0]
 | 
			
		||||
                childs[2].hide() # copy mail address
 | 
			
		||||
                childs[3].hide() # open mail composer
 | 
			
		||||
                childs[4].hide() # jid section separator
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue