[gnome-software/gnome-3-22] snap: Run before hardcoded-popular plugin
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] snap: Run before hardcoded-popular plugin
- Date: Mon, 24 Jul 2017 03:36:36 +0000 (UTC)
commit 627981cadc920b420b5fd9e75a342ecbfcb1cd0c
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Jul 24 11:38:04 2017 +1200
snap: Run before hardcoded-popular plugin
This stops the hardcoded values from being used.
src/plugins/gs-plugin-snap.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snap.c b/src/plugins/gs-plugin-snap.c
index 49983c6..5b6b42b 100644
--- a/src/plugins/gs-plugin-snap.c
+++ b/src/plugins/gs-plugin-snap.c
@@ -58,6 +58,9 @@ gs_plugin_initialize (GsPlugin *plugin)
gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "ubuntu-reviews");
gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_BETTER_THAN, "packagekit");
gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_BEFORE, "icons");
+
+ /* Override hardcoded popular apps */
+ gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_BEFORE, "hardcoded-popular");
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]