[Xfce4-commits] r29129 - in xfce4-mixer/trunk: . panel-plugin

Jannis Pohlmann jannis at xfce.org
Sun Jan 11 01:01:41 CET 2009


Author: jannis
Date: 2009-01-11 00:01:41 +0000 (Sun, 11 Jan 2009)
New Revision: 29129

Modified:
   xfce4-mixer/trunk/ChangeLog
   xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c
Log:
	* panel-plugin/xfce-volume-button.c: Change step size to 5% instead
	  of 1% because 1% is unusable if you don't have a laptop with a nice
	  touchpad. I'll have to come up with a more intelligent solution for
	  that in the next release, I guess.

Modified: xfce4-mixer/trunk/ChangeLog
===================================================================
--- xfce4-mixer/trunk/ChangeLog	2009-01-10 23:49:46 UTC (rev 29128)
+++ xfce4-mixer/trunk/ChangeLog	2009-01-11 00:01:41 UTC (rev 29129)
@@ -1,3 +1,10 @@
+2009-01-10	Jannis Pohlmann <jannis at xfce.org>
+
+	* panel-plugin/xfce-volume-button.c: Change step size to 5% instead
+	  of 1% because 1% is unusable if you don't have a laptop with a nice
+	  touchpad. I'll have to come up with a more intelligent solution for
+	  that in the next release, I guess.
+
 2009-01-08	Jannis Pohlmann <jannis at xfce.org>
 
 	* xfce4-mixer/main.c: Use multimedia-volume-control instead of

Modified: xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c
===================================================================
--- xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c	2009-01-10 23:49:46 UTC (rev 29128)
+++ xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c	2009-01-11 00:01:41 UTC (rev 29129)
@@ -201,8 +201,8 @@
   /* Allocate array for preloaded icons */
   button->pixbufs = g_new0 (GdkPixbuf*, G_N_ELEMENTS (icons)-1);
 
-  /* Create adjustment for the button (from 0.0 to 1.0 in 1% steps) */
-  button->adjustment = gtk_adjustment_new (0.0, 0.0, 1.0, 0.01, 0.01, 0.1);
+  /* Create adjustment for the button (from 0.0 to 1.0 in 5% steps) */
+  button->adjustment = gtk_adjustment_new (0.0, 0.0, 1.0, 0.05, 0.05, 0.1);
 
   /* Create a new scaled image for the button icon */
   button->image = xfce_scaled_image_new ();




More information about the Xfce4-commits mailing list