diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-17 19:39:42 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-17 19:39:44 +0000 |
commit | ad7396c84ba32ea7d5c47cfcd2a4ef661facaaa4 (patch) | |
tree | f424c43fd9fd2b2ab1ff86243ac3e95fc12362dc /libappstream-glib/as-app-desktop.c | |
parent | 2394abeb8d3d797c9180a44199e654d0de9c0e56 (diff) | |
download | appstream-glib-ad7396c84ba32ea7d5c47cfcd2a4ef661facaaa4.tar.gz |
Move the blacklisted application list to the front-end client
At the moment the blacklist list is being used to filter applications that have
an AppData file, and also installed desktop files.
I agree it's wrong to filter applications with valid AppData files from the
metadata, and the various runtime blacklist entries are better suited to the
front-end application which can adjust it as the design dictates.
Diffstat (limited to 'libappstream-glib/as-app-desktop.c')
-rw-r--r-- | libappstream-glib/as-app-desktop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libappstream-glib/as-app-desktop.c b/libappstream-glib/as-app-desktop.c index f84570e..e45119d 100644 --- a/libappstream-glib/as-app-desktop.c +++ b/libappstream-glib/as-app-desktop.c @@ -438,10 +438,6 @@ as_app_parse_desktop_file (AsApp *app, } } - /* is blacklisted */ - if (as_utils_is_blacklisted_id (app_id)) - as_app_add_veto (app, "%s is not an application", app_id); - /* Ubuntu helpfully put the package name in the desktop file name */ tmp = g_strstr_len (app_id, -1, ":"); if (tmp != NULL) |