[gnome-software] Revert "appstream: mark applications as available when no better state is set"
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Revert "appstream: mark applications as available when no better state is set"
- Date: Mon, 2 Sep 2013 10:30:47 +0000 (UTC)
commit 1c4c2538f5af7e56e7def22ead31dad1727c58c8
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 2 08:44:20 2013 +0100
Revert "appstream: mark applications as available when no better state is set"
This reverts commit 08ce47091101d56dca75440b37c14a17b525808e.
It's just wrong.
src/plugins/gs-plugin-appstream.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index c929a48..a59f643 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -474,7 +474,7 @@ gs_plugin_initialize (GsPlugin *plugin)
gdouble
gs_plugin_get_priority (GsPlugin *plugin)
{
- return 2.0f;
+ return 1.0f;
}
/**
@@ -572,9 +572,6 @@ gs_plugin_refine_item (GsPlugin *plugin,
/* set package name */
if (item->pkgname != NULL && gs_app_get_metadata_item (app, "package-name") == NULL)
gs_app_set_metadata (app, "package-name", item->pkgname);
-
- if (gs_app_get_state (app) == GS_APP_STATE_UNKNOWN)
- gs_app_set_state (app, GS_APP_STATE_AVAILABLE);
out:
g_free (icon_path);
if (pixbuf != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]