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:
José Roberto de Souza 2013-01-07 15:44:23 +00:00 committed by Lucas De Marchi
parent d0c143b615
commit 0f896f73a8
1 changed files with 1 additions and 1 deletions

View File

@ -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"))