[geary/wip/236-return-of-the-menubar: 2/2] Fix the MainWindow's menu bar showing up again.



commit 676523c533c31a4f75422c3cfe07913bb0a04c82
Author: Michael Gratton <mike vee net>
Date:   Tue Feb 19 13:47:49 2019 +1100

    Fix the MainWindow's menu bar showing up again.
    
    Hiding it regardless of the GtkSetting now seems to need to happen in
    the GtkWindow constructor.
    
    Fixes #236

 src/client/components/main-window.vala | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/client/components/main-window.vala b/src/client/components/main-window.vala
index e6577fa1..1b6bfbfa 100644
--- a/src/client/components/main-window.vala
+++ b/src/client/components/main-window.vala
@@ -85,7 +85,10 @@ public class MainWindow : Gtk.ApplicationWindow, Geary.BaseInterface {
 
 
     public MainWindow(GearyApplication application) {
-        Object(application: application);
+        Object(
+            application: application,
+            show_menubar: false
+        );
         base_ref();
 
         load_config(application.config);


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