aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-02-22 11:05:08 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2013-02-22 13:00:02 +0000
commit26d32a34b2e049097042ad15fa8e5b6a03efdc64 (patch)
treeb7792da9b3a92759084c01c5cd4a1ea5517bfa45
parentea3f93025b4bef5b2042142e7656737131e5db33 (diff)
downloadenlightenment-26d32a34b2e049097042ad15fa8e5b6a03efdc64.tar.gz
enlightenment-26d32a34b2e049097042ad15fa8e5b6a03efdc64.tar.xz
enlightenment-26d32a34b2e049097042ad15fa8e5b6a03efdc64.zip
e/music_control: Allow an action to toggle between play and pause.
We offer the play pause action but did only do the pause. Now we allow toggling the state.
-rw-r--r--src/modules/music-control/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/music-control/e_mod_main.c b/src/modules/music-control/e_mod_main.c
index 911e86a9c..30c3e96eb 100644
--- a/src/modules/music-control/e_mod_main.c
+++ b/src/modules/music-control/e_mod_main.c
@@ -24,7 +24,7 @@ _music_control(E_Object *obj, const char *params)
EINA_SAFETY_ON_NULL_RETURN(music_control_mod->data);
ctxt = music_control_mod->data;
if (!strcmp(params, "play"))
- media_player2_player_pause_call(ctxt->mpris2_player);
+ media_player2_player_play_pause_call(ctxt->mpris2_player);
else if (!strcmp(params, "next"))
media_player2_player_next_call(ctxt->mpris2_player);
else if (!strcmp(params, "previous"))