empathy r2482 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2482 - trunk/src
- Date: Mon, 16 Feb 2009 21:24:54 +0000 (UTC)
Author: xclaesse
Date: Mon Feb 16 21:24:54 2009
New Revision: 2482
URL: http://svn.gnome.org/viewvc/empathy?rev=2482&view=rev
Log:
Add an empty expanded GtkToolItem so the volume button is at the end of the toolbar.
From: Guillaume Desmottes <gdesmott gnome org>
Modified:
trunk/src/empathy-call-window.c
Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c (original)
+++ trunk/src/empathy-call-window.c Mon Feb 16 21:24:54 2009
@@ -135,6 +135,13 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]