[gnome-software/gnome-3-20] fedora-distro-upgrades: Use the release notes for the upgrade help
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-20] fedora-distro-upgrades: Use the release notes for the upgrade help
- Date: Fri, 15 Apr 2016 11:25:44 +0000 (UTC)
commit 57319a612693f58160d9e96b227da6b261b5f885
Author: Richard Hughes <richard hughsie com>
Date: Fri Apr 15 10:26:50 2016 +0100
fedora-distro-upgrades: Use the release notes for the upgrade help
src/plugins/gs-plugin-fedora-distro-upgrades.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fedora-distro-upgrades.c b/src/plugins/gs-plugin-fedora-distro-upgrades.c
index 534ecb6..1b9e80c 100644
--- a/src/plugins/gs-plugin-fedora-distro-upgrades.c
+++ b/src/plugins/gs-plugin-fedora-distro-upgrades.c
@@ -233,6 +233,7 @@ gs_plugin_add_distro_upgrades (GsPlugin *plugin,
DistroInfo *distro_info = g_ptr_array_index (plugin->priv->distros, i);
g_autofree gchar *app_id = NULL;
g_autofree gchar *app_version = NULL;
+ g_autofree gchar *url = NULL;
g_autoptr(GsApp) app = NULL;
/* only interested in upgrades to the same distro */
@@ -255,6 +256,13 @@ gs_plugin_add_distro_upgrades (GsPlugin *plugin,
gs_app_set_name (app, GS_APP_QUALITY_LOWEST, distro_info->name);
gs_app_set_version (app, app_version);
gs_app_set_management_plugin (app, "packagekit");
+
+ /* just use the release notes */
+ url = g_strdup_printf ("https://docs.fedoraproject.org/en-US/"
+ "Fedora/%i/html/Release_Notes/",
+ distro_info->version);
+ gs_app_set_url (app, AS_URL_KIND_HOMEPAGE, url);
+
gs_plugin_add_app (list, app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]