[geary/wip/236-return-of-the-menubar] Fix the MainWindow's menu bar showing up again.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/236-return-of-the-menubar] Fix the MainWindow's menu bar showing up again.
- Date: Tue, 19 Feb 2019 03:06:43 +0000 (UTC)
commit b69fec8608974a47ed9a82fbfd333ab260323c7d
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]