[gnome-tweak-tool] tweakview: Disable the menubar
- From: Alex Rodrigo Muñoz DomÃnguez <amunoz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] tweakview: Disable the menubar
- Date: Sat, 31 May 2014 04:06:28 +0000 (UTC)
commit 07221479fd0ce08b0cbb13a2843aa23a5d2732da
Author: Florian Müllner <fmuellner gnome org>
Date: Fri May 30 23:00:59 2014 +0200
tweakview: Disable the menubar
The headerbar is a better option to display the fallback app menu
than a one-item menubar nowadays, so disable the latter.
https://bugzilla.gnome.org/show_bug.cgi?id=731024
gtweak/tweakview.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index cfd6b9d..c487002 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -29,7 +29,8 @@ class Window(Gtk.ApplicationWindow):
def __init__(self, app, model):
Gtk.ApplicationWindow.__init__(self,
- application=app)
+ application=app,
+ show_menubar=False)
self.set_size_request(950, 680)
self.set_position(Gtk.WindowPosition.CENTER)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]