discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=06bb13e2f84ef053eb3f90fe83f0a1efac0663f1
commit 06bb13e2f84ef053eb3f90fe83f0a1efac0663f1 Author: Mike Blumenkrantz <[email protected]> Date: Wed Dec 23 13:38:05 2015 -0500 efreetd: send ipc for EFREET_EVENT_DESKTOP_CACHE_BUILD...always since the conversion from dbus -> ecore-ipc, efreetd has failed to notify when a cache build has completed, instead only sending the current state of the desktop cache: not built fix T2733 @fix --- src/bin/efreet/efreetd_cache.c | 2 ++ src/bin/efreet/efreetd_ipc.c | 6 ++++++ src/bin/efreet/efreetd_ipc.h | 1 + 3 files changed, 9 insertions(+) diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c index b72450d..55e8130 100644 --- a/src/bin/efreet/efreetd_cache.c +++ b/src/bin/efreet/efreetd_cache.c @@ -737,6 +737,8 @@ cache_exe_data_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) Eina_Bool update = EINA_FALSE; if ((ev->lines) && (*ev->lines->line == 'c')) update = EINA_TRUE; + if (!desktop_exists) + send_signal_desktop_cache_build(); desktop_exists = EINA_TRUE; send_signal_desktop_cache_update(update); } diff --git a/src/bin/efreet/efreetd_ipc.c b/src/bin/efreet/efreetd_ipc.c index c66b447..2c483c5 100644 --- a/src/bin/efreet/efreetd_ipc.c +++ b/src/bin/efreet/efreetd_ipc.c @@ -184,6 +184,12 @@ send_signal_desktop_cache_update(Eina_Bool update) _broadcast(ipc, 3 /* desktop cache update */, update, NULL, 0); } +void +send_signal_desktop_cache_build(void) +{ + _broadcast(ipc, 1 /* desktop cache build */, 1, NULL, 0); +} + Eina_Bool ipc_init(void) { diff --git a/src/bin/efreet/efreetd_ipc.h b/src/bin/efreet/efreetd_ipc.h index 288f311..6508f8f 100644 --- a/src/bin/efreet/efreetd_ipc.h +++ b/src/bin/efreet/efreetd_ipc.h @@ -3,6 +3,7 @@ void send_signal_icon_cache_update(Eina_Bool update); void send_signal_desktop_cache_update(Eina_Bool update); +void send_signal_desktop_cache_build(void); Eina_Bool ipc_init(void); Eina_Bool ipc_shutdown(void); --
