Author: jannis
Date: 2008-11-02 22:18:30 +0000 (Sun, 02 Nov 2008)
New Revision: 28594

Modified:
   xfce4-mixer/trunk/ChangeLog
   xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c
Log:
        * panel-plugin/xfce-volume-button.c: Change step and page increment
          size to 0.01 instead of 0.05. This allows for better fine-tuning of
          the volume. Having a 5% step size has been annoying.

Modified: xfce4-mixer/trunk/ChangeLog
===================================================================
--- xfce4-mixer/trunk/ChangeLog 2008-11-02 21:30:37 UTC (rev 28593)
+++ xfce4-mixer/trunk/ChangeLog 2008-11-02 22:18:30 UTC (rev 28594)
@@ -1,3 +1,9 @@
+2008-11-02     Jannis Pohlmann <[EMAIL PROTECTED]>
+
+       * panel-plugin/xfce-volume-button.c: Change step and page increment
+         size to 0.01 instead of 0.05. This allows for better fine-tuning of
+         the volume. Having a 5% step size has been annoying.
+
 2008-11-01     Jannis Pohlmann <[EMAIL PROTECTED]>
 
        * libxfce4mixer/*.{c,h}, panel-plugin/*.{c,h}, xfce4-mixer/*.{c,h}:

Modified: xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c
===================================================================
--- xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c 2008-11-02 21:30:37 UTC 
(rev 28593)
+++ xfce4-mixer/trunk/panel-plugin/xfce-volume-button.c 2008-11-02 22:18:30 UTC 
(rev 28594)
@@ -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 5% steps) */
-  button->adjustment = gtk_adjustment_new (0.0, 0.0, 1.0, 0.05, 0.05, 0.2);
+  /* 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 a new scaled image for the button icon */
   button->image = xfce_scaled_image_new ();
@@ -216,7 +216,7 @@
 
   /* Connect to button signals */
 #if 0
-  /* UNSED FOR NOW DUE TO TOO MUCH PROBLEMS WITH KEYBOARD FOCUS GRABBING */
+  /* UNUSED FOR NOW DUE TO TOO MUCH PROBLEMS WITH KEYBOARD FOCUS GRABBING */
   g_signal_connect (G_OBJECT (button), "key-press-event", G_CALLBACK 
(xfce_volume_button_key_pressed), button);
 #endif
   g_signal_connect (G_OBJECT (button), "button-press-event", G_CALLBACK 
(xfce_volume_button_button_pressed), button);

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to