[totem/wip/hadess/stop-button: 3/3] media-player-keys: Make Stop key behave like a CD player
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/stop-button: 3/3] media-player-keys: Make Stop key behave like a CD player
- Date: Fri, 22 Feb 2019 23:52:06 +0000 (UTC)
commit 4aa4c842f1cfc6acc2d10737da7c94ab06eebf0c
Author: Bastien Nocera <hadess hadess net>
Date: Sat Feb 23 00:49:17 2019 +0100
media-player-keys: Make Stop key behave like a CD player
Closes: #66
src/plugins/media-player-keys/totem-media-player-keys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/media-player-keys/totem-media-player-keys.c
b/src/plugins/media-player-keys/totem-media-player-keys.c
index 640a9e61f..c0a5eb480 100644
--- a/src/plugins/media-player-keys/totem-media-player-keys.c
+++ b/src/plugins/media-player-keys/totem-media-player-keys.c
@@ -69,7 +69,7 @@ on_media_player_key_pressed (TotemObject *totem,
else if (strcmp ("Next", key) == 0)
totem_object_seek_next (totem);
else if (strcmp ("Stop", key) == 0)
- totem_object_pause (totem);
+ totem_object_stop (totem);
else if (strcmp ("FastForward", key) == 0)
totem_object_remote_command (totem, TOTEM_REMOTE_COMMAND_SEEK_FORWARD, NULL);
else if (strcmp ("Rewind", key) == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]