clear menuitem to use stock [have image]
This commit is contained in:
parent
324e8b25bf
commit
e2012ca370
|
@ -431,7 +431,7 @@ class Chat:
|
||||||
def on_conversation_textview_populate_popup(self, textview, menu):
|
def on_conversation_textview_populate_popup(self, textview, menu):
|
||||||
item = gtk.MenuItem() # seperator
|
item = gtk.MenuItem() # seperator
|
||||||
menu.prepend(item)
|
menu.prepend(item)
|
||||||
item = gtk.MenuItem(_('C_lear'))
|
item = gtk.ImageMenuItem(gtk.STOCK_CLEAR)
|
||||||
menu.prepend(item)
|
menu.prepend(item)
|
||||||
item.connect('activate', self.on_clear, textview)
|
item.connect('activate', self.on_clear, textview)
|
||||||
menu.show_all()
|
menu.show_all()
|
||||||
|
|
Loading…
Reference in New Issue