Luncher: Pass the e_comp client to the preview add callback.

This commit is contained in:
Stephen 'Okra' Houston 2016-12-14 10:27:48 -06:00
parent d7f22721a2
commit 27c8413700
1 changed files with 2 additions and 2 deletions

View File

@ -1299,7 +1299,7 @@ _bar_cb_exec_new(void *data EINA_UNUSED, int type, E_Exec_Instance *ex)
if (!eina_list_data_find(ic->execs, ex))
ic->execs = eina_list_append(ic->execs, ex);
if (evas_object_visible_get(ec->frame))
_bar_exec_new_show(ic, NULL, NULL, NULL);
_bar_exec_new_show(ic, NULL, ec->frame, NULL);
else
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_SHOW,
_bar_exec_new_show, ic);
@ -1309,7 +1309,7 @@ _bar_cb_exec_new(void *data EINA_UNUSED, int type, E_Exec_Instance *ex)
if (!eina_list_data_find(ic->clients, ec))
ic->clients = eina_list_append(ic->clients, ec);
if (evas_object_visible_get(ec->frame))
_bar_exec_new_show(ic, NULL, NULL, NULL);
_bar_exec_new_show(ic, NULL, ec->frame, NULL);
else
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_SHOW,
_bar_exec_new_show, ic);