Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/conversation_textview.py
    ... ... @@ -703,7 +703,7 @@ class ConversationTextview(GObject.GObject):
    703 703
                 id_ = childs[1].connect('activate', self.on_open_link_activate, kind,
    
    704 704
                         text)
    
    705 705
                 self.handlers[id_] = childs[1]
    
    706
    -            childs[2].hide() # copy mail address
    
    706
    +            childs[2].hide() # copy mail/jid address
    
    707 707
                 childs[3].hide() # open mail composer
    
    708 708
                 childs[4].hide() # jid section separator
    
    709 709
                 childs[5].hide() # start chat
    
    ... ... @@ -740,10 +740,12 @@ class ConversationTextview(GObject.GObject):
    740 740
                     id_ = childs[0].connect('activate', self.on_copy_link_activate,
    
    741 741
                         'xmpp:' + text)
    
    742 742
                     self.handlers[id_] = childs[0]
    
    743
    -                childs[2].hide() # copy mail address
    
    743
    +                childs[0].set_label(_('Copy JID'))
    
    744
    +                childs[2].hide() # copy mail/jid address
    
    744 745
                     childs[3].hide() # open mail composer
    
    745 746
                     childs[4].hide() # jid section separator
    
    746 747
                 elif kind == 'mail':
    
    748
    +                childs[2].set_label(_('Copy Email Address'))
    
    747 749
                     childs[4].hide() # jid section separator
    
    748 750
                     childs[5].hide() # start chat
    
    749 751
                     childs[6].hide() # join group chat