[gnome-software] trivial: Show some debugging when a plugin was ignored because of the whitelist



commit fa65d32418c820dfc82788405c17f26bf191706f
Author: Richard Hughes <richard hughsie com>
Date:   Tue Mar 7 09:17:31 2017 +0000

    trivial: Show some debugging when a plugin was ignored because of the whitelist

 src/gs-plugin-loader.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 7e272f5..c7eefc8 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3654,6 +3654,10 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
                                continue;
                        ret = g_strv_contains ((const gchar * const *) whitelist,
                                               gs_plugin_get_name (plugin));
+                       if (!ret) {
+                               g_debug ("%s not in whitelist, disabling",
+                                        gs_plugin_get_name (plugin));
+                       }
                        gs_plugin_set_enabled (plugin, ret);
                }
        }


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