[gnome-software] Remove the horrific hack that makes search work without AppStream data
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Remove the horrific hack that makes search work without AppStream data
- Date: Sun, 1 Sep 2013 15:37:14 +0000 (UTC)
commit ca40ad6ad4d655f56e69ca1f33870fc289d780d4
Author: Richard Hughes <richard hughsie com>
Date: Sun Sep 1 16:23:35 2013 +0100
Remove the horrific hack that makes search work without AppStream data
src/plugins/gs-plugin-packagekit.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index d5a5115..8baf2af 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -185,15 +185,6 @@ gs_plugin_packagekit_add_installed_results (GsPlugin *plugin,
pk_info_enum_to_string (pk_package_get_info (package)));
}
gs_app_set_kind (app, GS_APP_KIND_PACKAGE);
-
- //FIXME: hack until we've got AppStream data to use.
- if (pk_results_get_role (results) == PK_ROLE_ENUM_SEARCH_DETAILS) {
- g_warning ("REALLY need AppStream data");
- gs_app_set_name (app, pk_package_get_name (package));
- gs_app_set_summary (app, pk_package_get_summary (package));
- gs_app_set_kind (app, GS_APP_KIND_NORMAL);
- }
-
gs_plugin_add_app (list, app);
}
out:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]