[gnome-software/wip/ubuntu] Set snap summary from snapd response
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu] Set snap summary from snapd response
- Date: Mon, 3 Oct 2016 00:15:59 +0000 (UTC)
commit 12c87490016a28e89b0d34c5a4e91857d24142d4
Author: William Hua <william hua canonical com>
Date: Fri Sep 30 17:13:41 2016 -0400
Set snap summary from snapd response
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1629456
src/plugins/gs-plugin-snap.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snap.c b/src/plugins/gs-plugin-snap.c
index f5da6de..07d6b29 100644
--- a/src/plugins/gs-plugin-snap.c
+++ b/src/plugins/gs-plugin-snap.c
@@ -84,7 +84,9 @@ refine_app (GsPlugin *plugin, GsApp *app, JsonObject *package, gboolean from_sea
gs_app_set_name (app, GS_APP_QUALITY_HIGHEST,
json_object_get_string_member (package, "name"));
gs_app_set_summary (app, GS_APP_QUALITY_HIGHEST,
- json_object_get_string_member (package, "description"));
+ json_object_get_string_member (package, "summary"));
+ gs_app_set_description (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)
gs_app_set_size (app, size);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]