]> git.0d.be Git - empathy.git/blobdiff - src/empathy-call-window.c
Add an empty expanded GtkToolItem so the volume button is at the end of the toolbar.
[empathy.git] / src / empathy-call-window.c
index f8c32a9c80ec93c722e351a0fd2932b42a0f7c81..d39a333d897efe6cb3ff96ac4f9286d8ad521632 100644 (file)
@@ -135,6 +135,13 @@ empathy_call_window_setup_toolbar (EmpathyCallWindow *self)
 
   toolbar = glade_xml_get_widget (priv->glade, "toolbar1");
 
 
   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);
   tool_item = gtk_tool_item_new ();
   volume_button = gtk_volume_button_new ();
   gtk_container_add (GTK_CONTAINER (tool_item), volume_button);