[gnome-software] Reorder plugin deps so that moduleset plugin's refine works properly
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Reorder plugin deps so that moduleset plugin's refine works properly
- Date: Mon, 25 May 2015 18:25:37 +0000 (UTC)
commit dd2bb77a0326ecc0aa112283f4ec14c2c7d32b5c
Author: Kalev Lember <kalevlember gmail com>
Date: Mon May 25 20:16:53 2015 +0200
Reorder plugin deps so that moduleset plugin's refine works properly
Make sure that the moduleset plugin runs after the appstream plugin, so
that its refine function can access app desktop IDs.
This fixes system apps to properly show up in the System Applications
section on the Installed page.
src/plugins/gs-plugin-appstream.c | 2 +-
src/plugins/gs-plugin-moduleset.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 4deba19..14e57b3 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -107,7 +107,7 @@ const gchar **
gs_plugin_get_deps (GsPlugin *plugin)
{
static const gchar *deps[] = {
- "moduleset", /* need category list */
+ "menu-spec-categories", /* need category list */
NULL };
return deps;
}
diff --git a/src/plugins/gs-plugin-moduleset.c b/src/plugins/gs-plugin-moduleset.c
index e995d6e..1c4bb5b 100644
--- a/src/plugins/gs-plugin-moduleset.c
+++ b/src/plugins/gs-plugin-moduleset.c
@@ -52,7 +52,7 @@ gs_plugin_get_deps (GsPlugin *plugin)
{
static const gchar *deps[] = {
"menu-spec-categories", /* featured subcat added to existing categories */
- "packagekit", /* pkgname */
+ "appstream", /* need app id */
NULL };
return deps;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]