changeset 919:d16737cc85f6 trunk

[svn] - statusicon: invert skip direction in mouse wheel; much better this way
author giacomo
date Fri, 06 Apr 2007 12:34:10 -0700
parents 209bd85dc1b9
children c84c20155e00
files ChangeLog src/statusicon/si_ui.c
diffstat 2 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 06 11:47:07 2007 -0700
+++ b/ChangeLog	Fri Apr 06 12:34:10 2007 -0700
@@ -1,3 +1,14 @@
+2007-04-06 18:47:07 +0000  Giacomo Lozito <james@develia.org>
+  revision [1964]
+  - statusicon: add an option to use mouse wheel to change playing song instead of volume
+  trunk/src/statusicon/si.c           |   20 ++++++++++
+  trunk/src/statusicon/si_audacious.h |    1 
+  trunk/src/statusicon/si_cfg.c       |    7 +++
+  trunk/src/statusicon/si_cfg.h       |    4 ++
+  trunk/src/statusicon/si_ui.c        |   72 ++++++++++++++++++++++++++++++++----
+  5 files changed, 97 insertions(+), 7 deletions(-)
+
+
 2007-04-06 17:30:17 +0000  Giacomo Lozito <james@develia.org>
   revision [1962]
   - aosd: updated ghosd license
--- a/src/statusicon/si_ui.c	Fri Apr 06 11:47:07 2007 -0700
+++ b/src/statusicon/si_ui.c	Fri Apr 06 12:34:10 2007 -0700
@@ -109,7 +109,7 @@
           si_audacious_volume_change( 5 );
           break;
         case SI_CFG_SCROLL_ACTION_SKIP:
-          si_audacious_playback_skip( 1 );
+          si_audacious_playback_skip( -1 );
           break;
       }
       break;
@@ -123,7 +123,7 @@
           si_audacious_volume_change( -5 );
           break;
         case SI_CFG_SCROLL_ACTION_SKIP:
-          si_audacious_playback_skip( -1 );
+          si_audacious_playback_skip( 1 );
           break;
       }
       break;