diff options
author | Cosimo Cecchi <cosimo@endlessm.com> | 2015-11-16 13:52:26 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-11-16 13:59:21 -0800 |
commit | 6692efdc665da669a0c5671b61e505c509946ddd (patch) | |
tree | 9c7b90bff593f0f08caddb7f84481e15c973166f | |
parent | 7317253e1bd9f154c693bd5b00fba81bb69ac09d (diff) | |
download | nautilus-6692efdc665da669a0c5671b61e505c509946ddd.tar.gz |
mime-actions: print error in a g_warning() when not in a dialog
Make sure we don't eat errors without at least printing them on the
terminal.
-rw-r--r-- | src/nautilus-mime-actions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c index 9237cd5b9..908318115 100644 --- a/src/nautilus-mime-actions.c +++ b/src/nautilus-mime-actions.c @@ -1071,7 +1071,10 @@ search_for_application_dbus_call_notify_cb (GDBusProxy *proxy, eel_show_error_dialog (_("Unable to search for application"), message, parameters_install->parent_window); g_free (message); - } + } else { + g_warning ("Error while trying to search for applications: %s", + error->message); + } g_error_free (error); activate_parameters_install_free (parameters_install); |