discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=434a3c8d384305c08db2f918ff0a076abdb46657

commit 434a3c8d384305c08db2f918ff0a076abdb46657
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 3 11:56:16 2017 -0500

    add handler for EFREET_EVENT_DESKTOP_CACHE_BUILD to e_order init
    
    it's possible that during startup there will never be a CACHE_UPDATE
    event, so ensure that an attempt to read occurs by watching this event too
---
 src/bin/e_order.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_order.c b/src/bin/e_order.c
index 6ad33c1..66e0c6b 100644
--- a/src/bin/e_order.c
+++ b/src/bin/e_order.c
@@ -17,11 +17,10 @@ e_order_init(void)
 {
    char *menu_file = NULL;
 
-   handlers =
-     eina_list_append(handlers,
-                      
ecore_event_handler_add(EFREET_EVENT_DESKTOP_CACHE_UPDATE,
-                                              _e_order_cb_efreet_cache_update,
-                                              NULL));
+   E_LIST_HANDLER_APPEND(handlers, EFREET_EVENT_DESKTOP_CACHE_UPDATE,
+                         _e_order_cb_efreet_cache_update, NULL);
+   E_LIST_HANDLER_APPEND(handlers, EFREET_EVENT_DESKTOP_CACHE_BUILD,
+                         _e_order_cb_efreet_cache_update, NULL);
    if (e_config->default_system_menu)
      menu_file = strdup(e_config->default_system_menu);
    if (!menu_file)

-- 


Reply via email to