aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <gdesmott@gnome.org>2009-02-17 05:24:54 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2009-02-17 05:24:54 +0800
commit62d100cc01604441dd9b186870d65ea38873374c (patch)
tree745281ca2f21d6d6959da031fb79e32778a00d3c
parent71b8046e41b9aa874563754d1ad47590f15c1b10 (diff)
downloadgsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.tar
gsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.tar.gz
gsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.tar.bz2
gsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.tar.lz
gsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.tar.xz
gsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.tar.zst
gsoc2013-empathy-62d100cc01604441dd9b186870d65ea38873374c.zip
Add an empty expanded GtkToolItem so the volume button is at the end of the toolbar.
From: Guillaume Desmottes <gdesmott@gnome.org> git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2482 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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);