fix gtk menubar

This commit is contained in:
j 2016-01-12 10:33:15 +05:30
parent 8d250cb1b2
commit 3dd1af5bd5

View file

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