Skip to content
Snippets Groups Projects
Commit 9be572c3 authored by nkour's avatar nkour
Browse files

more common [gedit, gossip, ..] to prepend a custom menuitem (Clear) and also adding _ to it

parent bbe1c02f
No related branches found
No related tags found
No related merge requests found
......@@ -422,10 +422,10 @@ class Chat:
buffer.delete(start, end)
def on_conversation_textview_populate_popup(self, textview, menu):
item = gtk.MenuItem()
menu.append(item)
item = gtk.MenuItem(_('Clear'))
menu.append(item)
item = gtk.MenuItem() # seperator
menu.prepend(item)
item = gtk.MenuItem(_('C_lear'))
menu.prepend(item)
item.connect('activate', self.on_clear, textview)
menu.show_all()
......
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