[gedit/wip/statusbar-buttons: 2/2] Use a popover for the tab width menu button.



commit d26a7ea13fea85dcf8fe1b26e3c58419e70f5515
Author: Steve Frécinaux <code istique net>
Date:   Tue Feb 11 00:59:12 2014 +0100

    Use a popover for the tab width menu button.

 gedit/gedit-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 14a9d21..9c63c36 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -818,6 +818,7 @@ static void
 create_tab_width_combo (GeditWindow *window)
 {
        window->priv->tab_width_combo = gedit_status_menu_button_new ();
+       gtk_menu_button_set_use_popover (GTK_MENU_BUTTON (window->priv->tab_width_combo), TRUE);
        gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (window->priv->tab_width_combo),
                                        _gedit_app_get_tab_width_menu (GEDIT_APP (g_application_get_default 
())));
        gtk_widget_show (window->priv->tab_width_combo);


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