[nautilus] toolbar: set GTK_ALIGN_END to the gear menu



commit 09962f5744890948e7a65edd3f70468e8959cb9c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Aug 9 16:26:29 2012 +0200

    toolbar: set GTK_ALIGN_END to the gear menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681507

 src/nautilus-toolbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index c6d911f..e0c8acb 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -227,6 +227,7 @@ nautilus_toolbar_constructed (GObject *obj)
 	tool_item = gtk_tool_item_new ();
 	tool_button = toolbar_create_toolbutton (self, TRUE, FALSE, "emblem-system-symbolic");
 	menu = gtk_ui_manager_get_widget (self->priv->ui_manager, "/ActionMenu");
+	gtk_widget_set_halign (menu, GTK_ALIGN_END);
 	gtk_menu_button_set_menu (GTK_MENU_BUTTON (tool_button), menu);
 	gtk_actionable_set_action_name (GTK_ACTIONABLE (tool_button), "win.gear-menu");
 



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