# HG changeset patch # User Cristi Magherusan # Date 1203856968 -7200 # Node ID e780330f6189e6cce6b45c1a493acf2d8ee5fd6f # Parent 6c272f46fa9942ce8e3ba3bd4f7f9483404dac7b jump between songs using shift+lmb and shift+rmb (Bugzilla #157) diff -r 6c272f46fa99 -r e780330f6189 src/statusicon/si_ui.c --- a/src/statusicon/si_ui.c Sat Feb 23 13:58:43 2008 +0100 +++ b/src/statusicon/si_ui.c Sun Feb 24 14:42:48 2008 +0200 @@ -77,7 +77,10 @@ { case 1: { - si_audacious_toggle_visibility(); + if (event->state & GDK_SHIFT_MASK) + audacious_drct_pl_next(); + else + si_audacious_toggle_visibility(); break; } @@ -89,6 +92,9 @@ case 3: { + if (event->state & GDK_SHIFT_MASK) + audacious_drct_pl_prev(); + else{ switch ( si_cfg.rclick_menu ) { case SI_CFG_RCLICK_MENU_SMALL1: @@ -103,6 +109,7 @@ break; } break; + } } }