raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0b954fcf50bc24bcc560416c465e0710bad8f476

commit 0b954fcf50bc24bcc560416c465e0710bad8f476
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Jun 12 15:09:47 2019 +0100

    efreet errors - expand dialogs to say more that is correct
---
 src/bin/e_startup.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_startup.c b/src/bin/e_startup.c
index 7369cf388..9881c5f01 100644
--- a/src/bin/e_startup.c
+++ b/src/bin/e_startup.c
@@ -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;
 }

-- 


Reply via email to