data: Add X-GNOME-Shell-Utilities.directory file to allow showing real name

Instead of having the name of the directory be X-GNOME-Utilities. This
also allows translating the name to the user's language. The name is
chose to be different to X-GNOME-Utilities from GNOME Menus.

In the process, also remove the categories. The menu definition from
gnome-menus is not used, and it's not a category that apps list
themselves, so it's completely unused anyway.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3526>
This commit is contained in:
Pablo Correa Gómez
2024-10-23 17:35:21 +02:00
committed by Pablo Correa Gómez
parent 6f280c8d7f
commit 152faae6f9
4 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,3 @@
[Desktop Entry]
Name=Utilities
Type=Directory

View File

@ -32,6 +32,15 @@ foreach desktop_file : desktop_files
)
endforeach
i18n.merge_file(
input: 'X-GNOME-Shell-Utilities.directory.desktop.in',
output: '@BASENAME@',
po_dir: po_dir,
install: true,
install_dir: join_paths(datadir, 'desktop-directories'),
type: 'desktop',
)
serviceconf = configuration_data()
serviceconf.set('libexecdir', libexecdir)
foreach service_file : service_files