[gnome-software/wip/ubuntu-xenial] Show summary instead of name for snaps
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-xenial] Show summary instead of name for snaps
- Date: Wed, 8 Jun 2016 12:22:06 +0000 (UTC)
commit 11c2553bfe4bcddb1cdc356e041571cd2eb8dbe4
Author: William Hua <william hua canonical com>
Date: Wed Jun 8 08:21:32 2016 -0400
Show summary instead of name for snaps
src/plugins/gs-plugin-snappy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index 87fb1aa..1083bc3 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -120,7 +120,7 @@ refine_app (GsPlugin *plugin, GsApp *app, JsonObject *package)
gs_app_set_state (app, AS_APP_STATE_AVAILABLE);
size = json_object_get_int_member (package, "download-size");
}
- gs_app_set_name (app, GS_APP_QUALITY_HIGHEST, json_object_get_string_member (package, "name"));
+ gs_app_set_name (app, GS_APP_QUALITY_HIGHEST, json_object_get_string_member (package, "summary"));
gs_app_set_summary (app, GS_APP_QUALITY_HIGHEST, json_object_get_string_member (package,
"description"));
gs_app_set_version (app, json_object_get_string_member (package, "version"));
if (size > 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]