summaryrefslogtreecommitdiff
path: root/src/totem-object.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-08-22 01:19:24 +0200
committerBastien Nocera <hadess@hadess.net>2020-08-22 01:39:00 +0200
commit7373acdce9197409053a398a55c5aca755916b54 (patch)
tree4821a22e91a9885c1d45878d5fa980dd8ab82a9e /src/totem-object.c
parentc01407676b94065fd42174329ac804a748225432 (diff)
downloadtotem-7373acdce9197409053a398a55c5aca755916b54.tar.gz
main: Fix Ctrl+Space shortcut not working
Diffstat (limited to 'src/totem-object.c')
-rw-r--r--src/totem-object.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index 67e42d558..a0a2ef71e 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3393,6 +3393,9 @@ totem_object_handle_key_press (TotemObject *totem, GdkEventKey *event)
}
} else
retval = FALSE;
+ } else {
+ if (event->keyval == GDK_KEY_space)
+ totem_object_play_pause (totem);
}
break;
case GDK_KEY_Left:
@@ -3593,6 +3596,7 @@ window_key_press_event_cb (GtkWidget *win, GdkEventKey *event, TotemObject *tote
case GDK_KEY_l:
case GDK_KEY_q:
case GDK_KEY_Q:
+ case GDK_KEY_space:
case GDK_KEY_Right:
case GDK_KEY_Left:
case GDK_KEY_plus: