From 2437cd3e39ad9ff3f1e37458025e321126a41b10 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 16 Feb 2009 21:24:54 +0000 Subject: [PATCH] Add an empty expanded GtkToolItem so the volume button is at the end of the toolbar. From: Guillaume Desmottes svn path=/trunk/; revision=2482 --- src/empathy-call-window.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index f8c32a9c..d39a333d 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -135,6 +135,13 @@ empathy_call_window_setup_toolbar (EmpathyCallWindow *self) toolbar = glade_xml_get_widget (priv->glade, "toolbar1"); + /* Add an empty expanded GtkToolItem so the volume button is at the end of + * the toolbar. */ + tool_item = gtk_tool_item_new (); + gtk_tool_item_set_expand (tool_item, TRUE); + gtk_widget_show (GTK_WIDGET (tool_item)); + gtk_toolbar_insert (GTK_TOOLBAR (toolbar), tool_item, -1); + tool_item = gtk_tool_item_new (); volume_button = gtk_volume_button_new (); gtk_container_add (GTK_CONTAINER (tool_item), volume_button); -- 2.39.2