From eb9f23979b0417404c06c382304e44dd6474c59e Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 19 May 2021 16:53:56 +0100 Subject: [PATCH] provide more info when dbus error on e_filemanager is run alos paledit now is enlightenment_paledit --- src/bin/e_fm_cmdline.c | 3 ++- ...aledit.desktop => enlightenment_paledit.desktop} | 0 .../{e_paledit.png => enlightenment_paledit.png} | Bin src/bin/tools/paledit/meson.build | 6 +++--- 4 files changed, 5 insertions(+), 4 deletions(-) rename src/bin/tools/paledit/{e_paledit.desktop => enlightenment_paledit.desktop} (100%) rename src/bin/tools/paledit/{e_paledit.png => enlightenment_paledit.png} (100%) diff --git a/src/bin/e_fm_cmdline.c b/src/bin/e_fm_cmdline.c index 3267bc1e1..bf710d2a4 100644 --- a/src/bin/e_fm_cmdline.c +++ b/src/bin/e_fm_cmdline.c @@ -46,12 +46,13 @@ fm_open_reply(void *data EINA_UNUSED, const Eldbus_Message *msg, Eldbus_Pending *dbus_pending EINA_UNUSED) { const char *name, *txt; + if (eldbus_message_error_get(msg, &name, &txt)) { retval = EXIT_FAILURE; EINA_LOG_ERR("%s: %s", name, txt); + fprintf(stderr, "Did you unload the EFM module? Try loading it.\n"); } - pending--; if (!pending) ecore_main_loop_quit(); } diff --git a/src/bin/tools/paledit/e_paledit.desktop b/src/bin/tools/paledit/enlightenment_paledit.desktop similarity index 100% rename from src/bin/tools/paledit/e_paledit.desktop rename to src/bin/tools/paledit/enlightenment_paledit.desktop diff --git a/src/bin/tools/paledit/e_paledit.png b/src/bin/tools/paledit/enlightenment_paledit.png similarity index 100% rename from src/bin/tools/paledit/e_paledit.png rename to src/bin/tools/paledit/enlightenment_paledit.png diff --git a/src/bin/tools/paledit/meson.build b/src/bin/tools/paledit/meson.build index 6e995015c..6f74ac8cc 100644 --- a/src/bin/tools/paledit/meson.build +++ b/src/bin/tools/paledit/meson.build @@ -1,4 +1,4 @@ -executable('e_paledit', +executable('enlightenment_paledit', [ 'main.c', 'main.h', 'colsel.c', @@ -12,9 +12,9 @@ executable('e_paledit', install : true ) -install_data('e_paledit.desktop', +install_data('enlightenment_paledit.desktop', install_dir: join_paths(dir_data, 'applications') ) -install_data('e_paledit.png', +install_data('enlightenment_paledit.png', install_dir: join_paths(dir_data, 'icons/hicolor/128x128/apps') )