[gnome-software] Filter invalid apps after a refine action
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Filter invalid apps after a refine action
- Date: Tue, 12 Sep 2017 12:54:40 +0000 (UTC)
commit b13f0ee4d7184ffcf328122a15f911b05190775f
Author: Joaquim Rocha <jrocha endlessm com>
Date: Tue Sep 12 14:35:38 2017 +0200
Filter invalid apps after a refine action
Among other possible issues, these changes fix a problem when
overriding the popular apps (through GSettings) because it would
end up showing invalid apps as those were not being filtered.
lib/gs-plugin-loader.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index 9f279e7..944d4bf 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -3291,6 +3291,9 @@ gs_plugin_loader_process_thread_cb (GTask *task,
gs_app_list_filter (list, gs_plugin_loader_filter_qt_for_gtk, NULL);
gs_app_list_filter (list, gs_plugin_loader_get_app_is_compatible, plugin_loader);
break;
+ case GS_PLUGIN_ACTION_REFINE:
+ gs_app_list_filter (list, gs_plugin_loader_app_is_valid, helper);
+ break;
case GS_PLUGIN_ACTION_GET_POPULAR:
gs_app_list_filter (list, gs_plugin_loader_app_is_valid, helper);
gs_app_list_filter (list, gs_plugin_loader_filter_qt_for_gtk, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]