[gnome-software] Do not set the management plugin from gs-appstream



commit 8b81dfd7f002bfee0decfaa8b101e69c109470e2
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Wed Jun 1 12:58:34 2016 +0200

    Do not set the management plugin from gs-appstream
    
    This diminishes the independence and flexibility of plugins by e.g.
    forcing a plugin to have a name matching the one set this gs-appstream.

 src/plugins/gs-appstream.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-appstream.c b/src/plugins/gs-appstream.c
index 468d9cd..1c08c7b 100644
--- a/src/plugins/gs-appstream.c
+++ b/src/plugins/gs-appstream.c
@@ -318,8 +318,6 @@ gs_refine_item_management_plugin (GsPlugin *plugin, GsApp *app, AsApp *item)
                AsBundle *bundle = g_ptr_array_index (bundles, i);
                AsBundleKind kind = as_bundle_get_kind (bundle);
 
-               /* common to all bundle formats */
-               gs_app_set_management_plugin (app, as_bundle_kind_to_string (kind));
                gs_app_add_source (app, as_bundle_get_id (bundle));
 
                /* automatically add runtime */


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