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
This commit is contained in:
Mike Blumenkrantz 2015-12-23 13:38:05 -05:00
parent 5c2def50ca
commit 06bb13e2f8
3 changed files with 9 additions and 0 deletions

View File

@ -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);
}

View File

@ -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)
{

View File

@ -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);