[gnome-software/gnome-3-24] snap: Run before hardcoded-popular plugin
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-24] snap: Run before hardcoded-popular plugin
- Date: Mon, 24 Jul 2017 03:35:12 +0000 (UTC)
commit 5791ad3a55f6a8dc7a2be43772c4ee2eae3d94fc
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 cbdfb24..88f763a 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -57,6 +57,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]