[goobox] move the volume button to the right of the toolbar



commit d3e91977d07cb66ce13814ad5331c851ea069025
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jun 2 21:54:47 2011 +0200

    move the volume button to the right of the toolbar

 src/goo-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/goo-window.c b/src/goo-window.c
index 0f17717..217a876 100644
--- a/src/goo-window.c
+++ b/src/goo-window.c
@@ -55,7 +55,7 @@
 #define IDLE_TIMEOUT 200
 #define FALLBACK_ICON_SIZE 16
 #define CONFIG_KEY_AUTOFETCH_GROUP "AutoFetch"
-#define VOLUME_BUTTON_POSITION 4
+#define VOLUME_BUTTON_POSITION 7
 #define TRAY_TOOLTIP_DELAY 500
 #define AUTOPLAY_DELAY 250
 
@@ -2432,6 +2432,8 @@ goo_window_construct (GooWindow    *window,
 		GtkToolItem *sep;
 
 		sep = gtk_separator_tool_item_new ();
+		gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (sep), FALSE);
+		gtk_tool_item_set_expand (GTK_TOOL_ITEM (sep), TRUE);
 		gtk_widget_show (GTK_WIDGET (sep));
 		gtk_toolbar_insert (GTK_TOOLBAR (window->priv->toolbar),
 				    GTK_TOOL_ITEM (sep),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]