forked from enlightenment/efl
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:
parent
7a772c741a
commit
a059b4c823
|
@ -735,6 +735,8 @@ cache_exe_data_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||||
Eina_Bool update = EINA_FALSE;
|
Eina_Bool update = EINA_FALSE;
|
||||||
|
|
||||||
if ((ev->lines) && (*ev->lines->line == 'c')) update = EINA_TRUE;
|
if ((ev->lines) && (*ev->lines->line == 'c')) update = EINA_TRUE;
|
||||||
|
if (!desktop_exists)
|
||||||
|
send_signal_desktop_cache_build();
|
||||||
desktop_exists = EINA_TRUE;
|
desktop_exists = EINA_TRUE;
|
||||||
send_signal_desktop_cache_update(update);
|
send_signal_desktop_cache_update(update);
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,6 +184,12 @@ send_signal_desktop_cache_update(Eina_Bool update)
|
||||||
_broadcast(ipc, 3 /* desktop cache update */, update, NULL, 0);
|
_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
|
Eina_Bool
|
||||||
ipc_init(void)
|
ipc_init(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
void send_signal_icon_cache_update(Eina_Bool update);
|
void send_signal_icon_cache_update(Eina_Bool update);
|
||||||
void send_signal_desktop_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_init(void);
|
||||||
Eina_Bool ipc_shutdown(void);
|
Eina_Bool ipc_shutdown(void);
|
||||||
|
|
Loading…
Reference in New Issue