void exec_run(Efreet_Desktop *desk, Efm_File *f) { Eina_List *lst = NULL; const char *file; eo_do(f, file = efm_file_path_get()); lst = eina_list_append(lst, file); efreet_desktop_exec(desk, lst, NULL); }
static Evas_Object *pane; static Eina_List *list; static void _open_tab(const char *path); static void _open_about_tab(void); static void _anchors_do(Evas_Object *obj, const char *path); static void _anchors_undo(Evas_Object *obj, const char *path); static void _new_tab_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { Efm_File *file; const char *path; file = data; path = efm_file_path_get(file); _open_tab(path); } static void _about_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { _open_about_tab(); } static Eina_Bool _fm_tab_menu_hook_start(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event) { Elm_File_Selector_Menu_Hook_Event *ev = event;
{ Evas_Object *detail; Evas_Object *bookmark; Evas_Object *selector; Eina_Bool preview_show; Eina_Bool bookmarks_show; } Elm_File_Display_Data; static Eina_Bool _selector_path_changed(void *data, Eo *obj EINA_UNUSED, const Eo_Event_Description2 *desc EINA_UNUSED, void *event_info) { const char *file; PRIV_DATA(data) eo_do(event_info, file = efm_file_path_get()); eo_do(pd->bookmark, efl_file_set(file, NULL)); return EO_CALLBACK_CONTINUE; } static Eina_Bool _update_preview(void *data, Eo *obj EINA_UNUSED, const Eo_Event_Description2 *desc EINA_UNUSED, void *event_info EINA_UNUSED) { Efm_File *f; PRIV_DATA(data) f = event_info; eo_do(pd->detail, elm_file_detail_file_set(f)); return EO_CALLBACK_CONTINUE;