[gnome-software] trivial: Actually make the debugging in hardcoded-blacklist useful
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Actually make the debugging in hardcoded-blacklist useful
- Date: Wed, 23 Mar 2016 11:15:58 +0000 (UTC)
commit f22bbe6c214e9b8776ac280b42be3d3f007e4259
Author: Richard Hughes <richard hughsie com>
Date: Wed Mar 23 11:13:36 2016 +0000
trivial: Actually make the debugging in hardcoded-blacklist useful
src/plugins/gs-plugin-hardcoded-blacklist.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-hardcoded-blacklist.c b/src/plugins/gs-plugin-hardcoded-blacklist.c
index c871733..2eb79a3 100644
--- a/src/plugins/gs-plugin-hardcoded-blacklist.c
+++ b/src/plugins/gs-plugin-hardcoded-blacklist.c
@@ -80,7 +80,9 @@ gs_plugin_refine_app (GsPlugin *plugin,
return TRUE;
/* search */
- ptask = as_profile_start_literal (plugin->profile, "hardcoded-blacklist");
+ ptask = as_profile_start (plugin->profile,
+ "hardcoded-blacklist{%s}",
+ gs_app_get_id (app));
for (i = 0; app_globs[i] != NULL; i++) {
if (fnmatch (app_globs[i], gs_app_get_id (app), 0) == 0) {
gs_app_add_category (app, "Blacklisted");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]