libmalcontent-ui: Drop handling of eos-link desktop files
They are being dropped in Endless OS, and would have been filtered out by the fact they’re not flatpaks anyway. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
ff8ec54b22
commit
af3a8b33db
|
@ -521,8 +521,6 @@ reload_apps (MctRestrictApplicationsSelector *self)
|
||||||
if (!G_IS_DESKTOP_APP_INFO (app) ||
|
if (!G_IS_DESKTOP_APP_INFO (app) ||
|
||||||
!g_app_info_should_show (app) ||
|
!g_app_info_should_show (app) ||
|
||||||
app_name[0] == '\0' ||
|
app_name[0] == '\0' ||
|
||||||
/* Endless' link apps have the "eos-link" prefix, and should be ignored too */
|
|
||||||
g_str_has_prefix (g_app_info_get_id (app), "eos-link") ||
|
|
||||||
/* FIXME: Only list flatpak apps and apps with X-Parental-Controls
|
/* FIXME: Only list flatpak apps and apps with X-Parental-Controls
|
||||||
* key set for now; we really need a system-wide MAC to be able to
|
* key set for now; we really need a system-wide MAC to be able to
|
||||||
* reliably support blocklisting system programs. */
|
* reliably support blocklisting system programs. */
|
||||||
|
|
Loading…
Reference in New Issue