diff --git a/app/gimp-update.c b/app/gimp-update.c index cd5341a1b1..69cc07e2a6 100644 --- a/app/gimp-update.c +++ b/app/gimp-update.c @@ -415,17 +415,25 @@ gimp_check_updates_callback (GObject *source, gchar *uri = g_file_get_uri (G_FILE (source)); #ifndef GIMP_CONSOLE_COMPILATION + if (error->domain == G_IO_ERROR && + error->code == G_IO_ERROR_NOT_SUPPORTED) + { #ifndef G_OS_WIN32 - g_message ("%s: loading of %s failed: %s\n\n%s", - G_STRFUNC, uri, error->message, - _("Perhaps you are missing GIO backends and need " - "to install GVFS?")); + g_message ("%s: loading of %s failed: %s\n\n%s", + G_STRFUNC, uri, error->message, + _("Perhaps you are missing GIO backends and need " + "to install GVFS?")); #else - g_message ("%s: loading of %s failed: %s\n\n%s", - G_STRFUNC, uri, error->message, - _("Perhaps you are missing GIO backends.")); + g_message ("%s: loading of %s failed: %s\n\n%s", + G_STRFUNC, uri, error->message, + _("Perhaps you are missing GIO backends.")); #endif /* G_OS_WIN32 */ - + } + else + { + g_printerr ("%s: loading of %s failed: %s\n", G_STRFUNC, + uri, error->message); + } #else g_printerr ("%s: loading of %s failed: %s\n", G_STRFUNC, uri, error->message);