[gnome-software] Do not show applications without a long description
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Do not show applications without a long description
- Date: Thu, 7 Mar 2013 19:47:14 +0000 (UTC)
commit 60d09bf609eb29c53abbdd712416348557d06422
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 7 19:44:40 2013 +0000
Do not show applications without a long description
src/gs-plugin-loader.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index ddcad05..188b766 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -146,6 +146,8 @@ gs_plugin_loader_app_is_valid (GsApp *app)
/* don't show apps that do not have a name */
if (gs_app_get_name (app) == NULL)
return FALSE;
+ if (gs_app_get_summary (app) == NULL)
+ return FALSE;
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]