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
This commit is contained in:
parent
3753586663
commit
2a8d593e8b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue