[Xfce4-commits] [apps/parole] 01/01: Support Ctrl-Q in fullscreen (bug #13549)

noreply at xfce.org noreply at xfce.org
Fri May 26 04:11:20 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 69f31052223f24b4227072b4352c045aedc3f55f
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu May 25 22:11:14 2017 -0400

    Support Ctrl-Q in fullscreen (bug #13549)
---
 src/parole-player.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/parole-player.c b/src/parole-player.c
index d1db2cd..672c560 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2810,6 +2810,13 @@ parole_player_handle_key_press (GdkEventKey *ev, ParolePlayer *player)
             parole_player_play_prev(player);
             ret_val = TRUE;
             break;
+        case GDK_KEY_q:
+        case GDK_KEY_Q:
+            if (ev->state & GDK_CONTROL_MASK) {
+                parole_player_quit (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