[gnome-contacts] Don't show redundant menubar. Bug 756222.



commit 44f21d6ff166abbbb913b2fa073c15f1a9054549
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Jun 30 11:47:34 2017 +0200

    Don't show redundant menubar. Bug 756222.
    
    Disabling the app menu in GNOME Tweak tool showed a redundant toolbar.
    This is now fixed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756222

 src/contacts-window.vala |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-window.vala b/src/contacts-window.vala
index c1e56c5..3ab9301 100644
--- a/src/contacts-window.vala
+++ b/src/contacts-window.vala
@@ -97,7 +97,11 @@ public class Contacts.Window : Gtk.ApplicationWindow {
   }
 
   public Window (Gtk.Application app, Store contacts_store) {
-    Object (application: app, store: contacts_store);
+    Object (
+      application: app,
+      show_menubar: false,
+      store: contacts_store
+    );
     debug ("everyone creation: finalized already!!!");
 
     contact_pane.store = contacts_store;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]