aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-12-23 13:38:05 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-12-23 13:40:48 -0500
commit06bb13e2f84ef053eb3f90fe83f0a1efac0663f1 (patch)
tree32ede7bfae47c72aa47ab294ecde8d69e91c8de8 /src/bin/efreet
parentecore_drm: fix out of source tree compilation (diff)
downloadefl-06bb13e2f84ef053eb3f90fe83f0a1efac0663f1.tar.gz
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 https://phab.enlightenment.org/T2733 @fix
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreetd_cache.c2
-rw-r--r--src/bin/efreet/efreetd_ipc.c6
-rw-r--r--src/bin/efreet/efreetd_ipc.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index b72450d05b..55e813041d 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 c66b447bf9..2c483c5a79 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 288f311add..6508f8f7b4 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);