efreet errors - expand dialogs to say more that is correct

This commit is contained in:
Carsten Haitzler 2019-06-12 15:09:47 +01:00
parent b8fb6b70f7
commit 0b954fcf50
1 changed files with 12 additions and 4 deletions

View File

@ -171,8 +171,14 @@ _e_startup_event_cb(void *data, int ev_type EINA_UNUSED, void *ev)
if ((e) && (e->error))
{
fprintf(stderr, "E: efreet couldn't build cache\n");
_e_startup_error_dialog("E: Efreet could not build cache. "
"Please check your DBus setup");
_e_startup_error_dialog("E: Efreetd cannot be connected to"
"Please check:<br>"
"$XDG_RUTIME_DIR/.ecore/efreetd/0<br>"
"or<br>"
"~/.ecore/efreetd/0<br>"
"Is your system very slow on start so<br>"
"efreetd cannot be connected to within<br>"
"0.5sec after launch??");
}
desktop_cache_update = EINA_TRUE;
E_FREE_FUNC(desktop_cache_update_handler, ecore_event_handler_del);
@ -190,8 +196,10 @@ static Eina_Bool
_e_startup_time_exceeded(void *data EINA_UNUSED)
{
fprintf(stderr, "E: efreet didn't notify about cache update\n");
_e_startup_error_dialog("E: Efreet did not update cache. "
"Please check your Efreet setup");
_e_startup_error_dialog("E: Efreet did not update cache"
"Please check your Efreet setup.<br>"
"Is efreetd running?<br>"
"Can ~/.cache/efreet be written to?");
timer = NULL;
return ECORE_CALLBACK_CANCEL;
}