Skip to content
Snippets Groups Projects
Commit e8151ed1 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

remove Cut Paste and Delete menuitem from conversation popupmenu. fixes #2567

parent 8fdbb9f7
No related branches found
No related tags found
No related merge requests found
......@@ -321,6 +321,10 @@ class ConversationTextview:
and if we have sth selected we show a submenu with actions on the phrase
(see on_conversation_textview_button_press_event)'''
for menuitem in menu.get_children():
label = menuitem.get_child()
if label and label.get_text() in (_('Cut'), _('Paste'), _('Delete')):
menu.remove(menuitem)
separator_menuitem_was_added = False
if not self.used_in_history_window:
item = gtk.SeparatorMenuItem()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment