Skip to content

users: Simplify parental controls keywords to remove spaces

Spaces aren’t supported in .desktop file keywords, as gnome-shell splits the search term by spaces, and then prefix-matches each word separately against the candidate keywords.

So a search term of ‘parental’ would match the ‘Parental Controls’ keyword, but a search term of ‘parental controls’ would not, as ‘controls’ doesn’t prefix-match anything.

Avoid that by removing spaces from the keywords.

Signed-off-by: Philip Withnall pwithnall@gnome.org

Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/48

Merge request reports