add title to context menu

This commit is contained in:
j 2016-01-09 19:54:11 +05:30
parent 5e13402dd1
commit 070281c248

View file

@ -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")