aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <gdesmott@gnome.org>2009-02-17 05:24:54 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-17 05:24:54 +0800
commit2437cd3e39ad9ff3f1e37458025e321126a41b10 (patch)
tree745281ca2f21d6d6959da031fb79e32778a00d3c /src/empathy-call-window.c
parentfd8da2db3d38010d88c43dfb6bfaf7bda25a5c4a (diff)
downloadgsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.tar
gsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.tar.gz
gsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.tar.bz2
gsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.tar.lz
gsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.tar.xz
gsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.tar.zst
gsoc2013-empathy-2437cd3e39ad9ff3f1e37458025e321126a41b10.zip
Add an empty expanded GtkToolItem so the volume button is at the end of the toolbar.
From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2482
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f8c32a9c8..d39a333d8 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);