diff options
author | Jeremy Bicha <jbicha@ubuntu.com> | 2018-12-05 13:28:02 -0500 |
---|---|---|
committer | Jeremy Bicha <jbicha@ubuntu.com> | 2018-12-05 14:30:14 -0500 |
commit | 185cff5833c92a959f6e67c2fd6f80729efe68ff (patch) | |
tree | 7c5407410ec513431bb1241efe8d2a0d60b15b83 /src | |
parent | 689c4f1f54e6e7394295561be59b86ac70af3cbb (diff) | |
download | d-feet-185cff5833c92a959f6e67c2fd6f80729efe68ff.tar.gz |
menus: Follow GNOME 3.32 menu guidelines
https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
Diffstat (limited to 'src')
-rw-r--r-- | src/dfeet/application.py | 4 |
1 files changed, 0 insertions, 4 deletions
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() |