[totem/wip/hadess/stop-button: 8/8] 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: 8/8] media-player-keys: Make Stop key behave like a CD player
- Date: Sat, 23 Feb 2019 16:12:51 +0000 (UTC)
commit 61d47c039d1da6ff4df6889a718fac07087609b7
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]