summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2017-06-30 11:47:34 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2017-06-30 11:47:34 +0200
commit44f21d6ff166abbbb913b2fa073c15f1a9054549 (patch)
tree11fda9a1865df83e5f05a3f0d0c7199b7ba49ddf
parent0039e103078a0289f2513f8894bbfe53bc1574e4 (diff)
downloadgnome-contacts-44f21d6ff166abbbb913b2fa073c15f1a9054549.tar.gz
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
-rw-r--r--src/contacts-window.vala6
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;