[gnome-software] trivial: Use a nice error message when double clicking on a random file
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Use a nice error message when double clicking on a random file
- Date: Fri, 15 Jul 2016 13:32:34 +0000 (UTC)
commit 8e8a5a89bdfa30d704c4a7d316166e7025be9665
Author: Richard Hughes <richard hughsie com>
Date: Fri Jul 15 14:32:19 2016 +0100
trivial: Use a nice error message when double clicking on a random file
src/gs-plugin-loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 6c1dfb2..066068b 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -4243,7 +4243,7 @@ gs_plugin_loader_file_to_app_thread_cb (GTask *task,
if (gs_app_list_length (state->list) != 1) {
g_task_return_new_error (task,
GS_PLUGIN_ERROR,
- GS_PLUGIN_ERROR_FAILED,
+ GS_PLUGIN_ERROR_NOT_SUPPORTED,
"no application was created for %s",
g_file_get_path (state->file));
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]