[gnome-software] trivial: Include the branch as the version for xdg-app updates



commit 8ea45b965320d38e6a493641a38f11f0356437cf
Author: Richard Hughes <richard hughsie com>
Date:   Wed Feb 17 16:01:49 2016 +0000

    trivial: Include the branch as the version for xdg-app updates

 src/plugins/gs-plugin-xdg-app.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-xdg-app.c b/src/plugins/gs-plugin-xdg-app.c
index 3f16d29..9717f15 100644
--- a/src/plugins/gs-plugin-xdg-app.c
+++ b/src/plugins/gs-plugin-xdg-app.c
@@ -406,6 +406,7 @@ gs_plugin_xdg_app_create_installed (GsPlugin *plugin,
                                 xdg_app_ref_get_name (XDG_APP_REF (xref)));
                gs_app_set_summary (app, GS_APP_QUALITY_NORMAL,
                                    "Framework for applications");
+               gs_app_set_version (app, xdg_app_ref_get_branch (XDG_APP_REF (xref)));
                icon = as_icon_new ();
                as_icon_set_kind (icon, AS_ICON_KIND_STOCK);
                as_icon_set_name (icon, "system-run-symbolic");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]