fix gtk menubar
This commit is contained in:
parent
8d250cb1b2
commit
3dd1af5bd5
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ class OMLIcon:
|
||||||
|
|
||||||
def get_menu(self):
|
def get_menu(self):
|
||||||
menu = Gtk.Menu()
|
menu = Gtk.Menu()
|
||||||
title = Gtk.MenuItem(label=title)
|
t = Gtk.MenuItem(label=title)
|
||||||
title.set_sensitive(False)
|
t.set_sensitive(False)
|
||||||
menu.append(title)
|
menu.append(t)
|
||||||
menu.append(Gtk.SeparatorMenuItem())
|
menu.append(Gtk.SeparatorMenuItem())
|
||||||
about = Gtk.MenuItem(label="Launch")
|
about = Gtk.MenuItem(label="Launch")
|
||||||
about.connect("activate", self._open)
|
about.connect("activate", self._open)
|
||||||
|
|
Loading…
Reference in a new issue