forked from enlightenment/enlightenment
e music-control: Fix calling wrong mpris2 method
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 82353
This commit is contained in:
parent
d0c143b615
commit
0f896f73a8
|
@ -33,7 +33,7 @@ _btn_clicked(void *data, Evas_Object *obj, const char *emission, const char *sou
|
|||
{
|
||||
E_Music_Control_Instance *inst = data;
|
||||
if (!strcmp(source, "play"))
|
||||
media_player2_player_pause_call(inst->ctxt->mpris2_player);
|
||||
media_player2_player_play_pause_call(inst->ctxt->mpris2_player);
|
||||
else if (!strcmp(source, "next"))
|
||||
media_player2_player_next_call(inst->ctxt->mpris2_player);
|
||||
else if (!strcmp(source, "previous"))
|
||||
|
|
Loading…
Reference in New Issue