[gnome-software/wip/william/cherry-pick] trivial: Set management plugin of dpkg apps



commit ed8860b0cb4d72848a768d4ebc6ad5ddf019085c
Author: William Hua <william hua canonical com>
Date:   Fri May 20 15:26:55 2016 -0400

    trivial: Set management plugin of dpkg apps

 src/plugins/gs-plugin-dpkg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-dpkg.c b/src/plugins/gs-plugin-dpkg.c
index c709c3b..6fb9ff1 100644
--- a/src/plugins/gs-plugin-dpkg.c
+++ b/src/plugins/gs-plugin-dpkg.c
@@ -102,6 +102,7 @@ gs_plugin_file_to_app (GsPlugin *plugin,
        gs_app_set_url (app, AS_URL_KIND_HOMEPAGE, tokens[3]);
        gs_app_set_summary (app, GS_APP_QUALITY_LOWEST, tokens[4]);
        gs_app_set_kind (app, AS_APP_KIND_GENERIC);
+       gs_app_set_management_plugin (app, "apt");
 
        /* multiline text */
        str = g_string_new ("");


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