[Xfce4-commits] [apps/parole] 01/01: Add N/B keybindings for next and previous track, inspired by Totem (bug #12951)

noreply at xfce.org noreply at xfce.org
Fri May 26 04:06:05 CEST 2017


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/parole.

commit 5af2127b6fd396d7800f58f95bd6cc42be4f1d24
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu May 25 22:05:59 2017 -0400

    Add N/B keybindings for next and previous track, inspired by Totem (bug #12951)
---
 src/parole-player.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/parole-player.c b/src/parole-player.c
index 1af5aa9..d1db2cd 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2800,6 +2800,16 @@ parole_player_handle_key_press (GdkEventKey *ev, ParolePlayer *player)
                 parole_player_hide_menubar_cb(NULL, player);
             ret_val = TRUE;
             break;
+        case GDK_KEY_n:
+        case GDK_KEY_N:
+            parole_player_play_next(player, TRUE);
+            ret_val = TRUE;
+            break;
+        case GDK_KEY_b:
+        case GDK_KEY_B:
+            parole_player_play_prev(player);
+            ret_val = TRUE;
+            break;
 #ifdef HAVE_XF86_KEYSYM
         case XF86XK_OpenURL:
             parole_player_full_screen (player, FALSE);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list