forked from enlightenment/enventor
replaced with the compatible focus apis.
ex-apis are not defined anymore.
This commit is contained in:
parent
2f8b1063b4
commit
b15117a527
|
@ -28,7 +28,7 @@ warning_dismiss_done(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
{
|
{
|
||||||
file_mgr_data *fmd = data;
|
file_mgr_data *fmd = data;
|
||||||
evas_object_del(fmd->warning_layout);
|
evas_object_del(fmd->warning_layout);
|
||||||
efl_ui_focus_object_focus_set(base_enventor_get(), EINA_TRUE);
|
enventor_object_focus_set(base_enventor_get(), EINA_TRUE);
|
||||||
fmd->warning_layout = NULL;
|
fmd->warning_layout = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -561,7 +561,7 @@ enventor_ctxpopup_dismissed_cb(void *data EINA_UNUSED, Enventor_Object *obj,
|
||||||
void *event_info EINA_UNUSED)
|
void *event_info EINA_UNUSED)
|
||||||
{
|
{
|
||||||
if (menu_activated_get() > 0)
|
if (menu_activated_get() > 0)
|
||||||
efl_ui_focus_object_focus_set(obj, EINA_FALSE);
|
enventor_object_focus_set(obj, EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -751,7 +751,7 @@ keygrabber_key_down_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED,
|
||||||
|
|
||||||
if (live_edit_cancel(EINA_TRUE))
|
if (live_edit_cancel(EINA_TRUE))
|
||||||
{
|
{
|
||||||
efl_ui_focus_object_focus_set(base_enventor_get(), EINA_TRUE);
|
enventor_object_focus_set(base_enventor_get(), EINA_TRUE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (file_mgr_warning_is_opened())
|
if (file_mgr_warning_is_opened())
|
||||||
|
@ -1127,7 +1127,7 @@ init(app_data *ad, int argc, char **argv)
|
||||||
base_gui_show();
|
base_gui_show();
|
||||||
|
|
||||||
//Guarantee Enventor editor has focus.
|
//Guarantee Enventor editor has focus.
|
||||||
efl_ui_focus_object_focus_set(enventor, EINA_TRUE);
|
enventor_object_focus_set(enventor, EINA_TRUE);
|
||||||
|
|
||||||
menu_init();
|
menu_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue