From 185cff5833c92a959f6e67c2fd6f80729efe68ff Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Wed, 5 Dec 2018 13:28:02 -0500 Subject: menus: Follow GNOME 3.32 menu guidelines https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement --- src/dfeet/application.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/dfeet/application.py b/src/dfeet/application.py index a0cd917..c5666c5 100644 --- a/src/dfeet/application.py +++ b/src/dfeet/application.py @@ -22,8 +22,6 @@ class DFeetApp(Gtk.Application): # Note that the function in C startup() becomes do_startup() in Python def do_startup(self): Gtk.Application.do_startup(self) - builder = Gtk.Builder() - builder.add_from_file(os.path.join(self.data_dir, "ui", "app-menu.ui")) # create actions action = Gio.SimpleAction.new("about", None) @@ -38,8 +36,6 @@ class DFeetApp(Gtk.Application): action.connect("activate", self.action_quit_cb) self.add_action(action) - self.set_app_menu(builder.get_object("app-menu")) - def action_quit_cb(self, action, parameter): self.quit() -- cgit v1.2.1