add title to context menu
This commit is contained in:
parent
5e13402dd1
commit
070281c248
1 changed files with 5 additions and 1 deletions
|
@ -49,7 +49,11 @@ class OMLIcon:
|
|||
|
||||
def get_menu(self):
|
||||
menu = Gtk.Menu()
|
||||
about = Gtk.MenuItem(label="Open")
|
||||
title = Gtk.MenuItem(label=title)
|
||||
title.set_sensitive(False)
|
||||
menu.append(title)
|
||||
menu.append(Gtk.SeparatorMenuItem())
|
||||
about = Gtk.MenuItem(label="Launch")
|
||||
about.connect("activate", self._open)
|
||||
menu.append(about)
|
||||
quit = Gtk.MenuItem(label="Quit")
|
||||
|
|
Loading…
Reference in a new issue