[gtk+] headerbar: Use popover for the fallback app menu



commit 900adae5d913f3b815bab3f580350f70cd671be7
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Sun Feb 9 17:51:52 2014 +0200

    headerbar: Use popover for the fallback app menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723963

 gtk/gtkheaderbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index d38efb3..4274311 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -366,6 +366,7 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
                   button = gtk_menu_button_new ();
                   gtk_widget_set_valign (button, GTK_ALIGN_CENTER);
                   gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), menu);
+                  gtk_menu_button_set_use_popover (GTK_MENU_BUTTON (button), TRUE);
                   gtk_style_context_add_class (gtk_widget_get_style_context (button), "titlebutton");
                   image = gtk_image_new ();
                   gtk_container_add (GTK_CONTAINER (button), image);


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