summaryrefslogtreecommitdiff
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
parent5c2def50ca2eb802797565dbe15cb10cb755b92f (diff)
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
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)
737 Eina_Bool update = EINA_FALSE; 737 Eina_Bool update = EINA_FALSE;
738 738
739 if ((ev->lines) && (*ev->lines->line == 'c')) update = EINA_TRUE; 739 if ((ev->lines) && (*ev->lines->line == 'c')) update = EINA_TRUE;
740 if (!desktop_exists)
741 send_signal_desktop_cache_build();
740 desktop_exists = EINA_TRUE; 742 desktop_exists = EINA_TRUE;
741 send_signal_desktop_cache_update(update); 743 send_signal_desktop_cache_update(update);
742 } 744 }
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)
184 _broadcast(ipc, 3 /* desktop cache update */, update, NULL, 0); 184 _broadcast(ipc, 3 /* desktop cache update */, update, NULL, 0);
185} 185}
186 186
187void
188send_signal_desktop_cache_build(void)
189{
190 _broadcast(ipc, 1 /* desktop cache build */, 1, NULL, 0);
191}
192
187Eina_Bool 193Eina_Bool
188ipc_init(void) 194ipc_init(void)
189{ 195{
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 @@
3 3
4void send_signal_icon_cache_update(Eina_Bool update); 4void send_signal_icon_cache_update(Eina_Bool update);
5void send_signal_desktop_cache_update(Eina_Bool update); 5void send_signal_desktop_cache_update(Eina_Bool update);
6void send_signal_desktop_cache_build(void);
6 7
7Eina_Bool ipc_init(void); 8Eina_Bool ipc_init(void);
8Eina_Bool ipc_shutdown(void); 9Eina_Bool ipc_shutdown(void);