[gtk/matthiasc/for-master: 2/3] applicationswindow: Make show-menubar FALSE by default



commit 160821de3355421aa7e60f6796d3e28fdd8ef4ab
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 10 20:15:31 2020 -0400

    applicationswindow: Make show-menubar FALSE by default
    
    The fallback to the menubar is not a good sight,
    we should not do that by default.

 gtk/gtkapplicationwindow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c
index 4afc2910a6..76172684b2 100644
--- a/gtk/gtkapplicationwindow.c
+++ b/gtk/gtkapplicationwindow.c
@@ -797,7 +797,7 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class)
                           P_("Show a menubar"),
                           P_("TRUE if the window should show a "
                              "menubar at the top of the window"),
-                          TRUE, G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE | 
G_PARAM_EXPLICIT_NOTIFY);
+                          FALSE, G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE | 
G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_properties (object_class, N_PROPS, gtk_application_window_properties);
 }
 


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