[gnome-software] trivial: Set the origin hostname for flatpak repos



commit c02fa81ed817081a7684914c93c57f54945e95dc
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 26 09:36:00 2016 +0100

    trivial: Set the origin hostname for flatpak repos

 src/plugins/gs-flatpak.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 0b8b820..4dc7fed 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -1686,6 +1686,7 @@ gs_flatpak_file_to_app_repo (GsFlatpak *self,
        gs_app_set_kind (app, AS_APP_KIND_SOURCE);
        gs_app_set_name (app, GS_APP_QUALITY_NORMAL, repo_title);
        gs_app_set_metadata (app, "flatpak::gpg-key", repo_gpgkey);
+       gs_app_set_origin_hostname (app, repo_url);
 
        /* optional data */
        repo_homepage = g_key_file_get_string (kf, "Flatpak Repo", "Homepage", NULL);


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