[gnome-software] trivial: Set a management plugin on .flatpakrepo apps



commit 02118c22523179390753669aaf77974e396312b4
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 26 10:00:41 2016 +0100

    trivial: Set a management plugin on .flatpakrepo apps

 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 ed1dedf..f2498f5 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -1695,6 +1695,7 @@ gs_flatpak_file_to_app_repo (GsFlatpak *self,
        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);
+       gs_app_set_management_plugin (app, gs_plugin_get_name (self->plugin));
 
        /* 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]