[gnome-software] Revert "trivial: Do not remove the AS_APP_QUIRK_MATCH_ANY_PREFIX in the plugin loader"



commit dec30407168fe59434bff066fcae9fb05e17df4c
Author: Richard Hughes <richard hughsie com>
Date:   Sat Jun 11 22:58:52 2016 +0100

    Revert "trivial: Do not remove the AS_APP_QUIRK_MATCH_ANY_PREFIX in the plugin loader"
    
    This reverts commit 8bddd2efa003da474ad886fd11000fb7bf48d09d as it's the wrong
    fix for this particular problem.

 src/gs-plugin-loader.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 71c2526..d431a26 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -477,6 +477,9 @@ gs_plugin_loader_run_refine (GsPluginLoader *plugin_loader,
                        continue;
                if (gs_app_get_management_plugin (app) != NULL)
                        continue;
+
+               /* this doesn't make sense outside the plugin loader */
+               gs_app_remove_quirk (app, AS_APP_QUIRK_MATCH_ANY_PREFIX);
                has_match_any_prefix = TRUE;
        }
        if (has_match_any_prefix) {


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