forked from enlightenment/enlightenment
e/music_control: Fix typo for playing
This commit is contained in:
parent
fca3799f44
commit
299aea18c4
|
@ -186,9 +186,9 @@ cb_playback_status_get(void *data, EDBus_Pending *p, const char *propname, EDBus
|
|||
}
|
||||
|
||||
if (!strcmp(value, "Playing"))
|
||||
ctxt->playning = EINA_TRUE;
|
||||
ctxt->playing = EINA_TRUE;
|
||||
else
|
||||
ctxt->playning = EINA_FALSE;
|
||||
ctxt->playing = EINA_FALSE;
|
||||
music_control_state_update_all(ctxt);
|
||||
}
|
||||
|
||||
|
@ -205,9 +205,9 @@ prop_changed(void *data, EDBus_Proxy *proxy, void *event_info)
|
|||
|
||||
eina_value_get(value, &status);
|
||||
if (!strcmp(status, "Playing"))
|
||||
ctxt->playning = EINA_TRUE;
|
||||
ctxt->playing = EINA_TRUE;
|
||||
else
|
||||
ctxt->playning = EINA_FALSE;
|
||||
ctxt->playing = EINA_FALSE;
|
||||
music_control_state_update_all(ctxt);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ typedef struct _E_Music_Control_Module_Context
|
|||
{
|
||||
Eina_List *instances;
|
||||
EDBus_Connection *conn;
|
||||
Eina_Bool playning:1;
|
||||
Eina_Bool playing:1;
|
||||
EDBus_Proxy *mrpis2;
|
||||
EDBus_Proxy *mpris2_player;
|
||||
E_Config_DD *conf_edd;
|
||||
|
|
|
@ -6,7 +6,7 @@ static void
|
|||
_play_state_update(E_Music_Control_Instance *inst, Eina_Bool without_delay)
|
||||
{
|
||||
if (!inst->popup) return;
|
||||
if (inst->ctxt->playning)
|
||||
if (inst->ctxt->playing)
|
||||
{
|
||||
edje_object_signal_emit(inst->content_popup, "btn,state,image,pause", "play");
|
||||
return;
|
||||
|
@ -155,7 +155,7 @@ _cfg_data_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
return 1;
|
||||
|
||||
inst->ctxt->config->player_selected = cfdata->index;
|
||||
inst->ctxt->playning = EINA_FALSE;
|
||||
inst->ctxt->playing = EINA_FALSE;
|
||||
mpris_media_player2_proxy_unref(inst->ctxt->mpris2_player);
|
||||
media_player2_player_proxy_unref(inst->ctxt->mrpis2);
|
||||
music_control_dbus_init(inst->ctxt,
|
||||
|
|
Loading…
Reference in New Issue