[gnome-software] snap: Run before hardcoded-popular plugin
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] snap: Run before hardcoded-popular plugin
- Date: Sun, 23 Jul 2017 23:42:25 +0000 (UTC)
commit db091df21bc21136f714b2bb500b56caf19f5c0e
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.
plugins/snap/gs-plugin-snap.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index ef7faa7..9c6a18b 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -62,6 +62,9 @@ gs_plugin_initialize (GsPlugin *plugin)
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");
+
/* set name of MetaInfo file */
gs_plugin_set_appstream_id (plugin, "org.gnome.Software.Plugin.Snap");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]