[gtk+] GtkMenuButton: use popovers by default



commit fab2173b315c7d305b75f6aabb4da45922b44afa
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Apr 24 23:35:18 2014 -0400

    GtkMenuButton: use popovers by default
    
    When constructing from a menu model, use popovers by default.
    This change has the potential to cause some size problems for
    applications with big gear menus, so we're doing it early in
    the cycle to uncover and fix those.

 gtk/gtkmenubutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index dd966a4..cc2654d 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -568,7 +568,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
                                    g_param_spec_boolean ("use-popover",
                                                          P_("Use a popover"),
                                                          P_("Use a popover instead of a menu"),
-                                                         FALSE,
+                                                         TRUE,
                                                          G_PARAM_READWRITE));
 
   /**


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