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



commit a8c6ebc81771f6cfb1109e80322c1eb657233997
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 2b86aa7..5e5d4ca 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3743,6 +3743,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]