[gedit/wip/statusbar-buttons: 2/2] Use a popover for the tab width menu button.
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/statusbar-buttons: 2/2] Use a popover for the tab width menu button.
- Date: Tue, 11 Feb 2014 00:03:01 +0000 (UTC)
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]