data: Really strip .desktop suffix from folder directory
Commit 730fcf34e9 was meant to strip the .desktop suffix from the desktop directory file, but failed to actually do so: The replace() method is called on the string parameter before it is passed to the meson command which substitutes `@BASENAME@`, so it doesn't have any effect at all. Really fix the issue by providing the full output name. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3567>
This commit is contained in:
parent
88e19ff32e
commit
5d8905c5c7
@ -32,9 +32,10 @@ foreach desktop_file : desktop_files
|
||||
)
|
||||
endforeach
|
||||
|
||||
desktop_directory = 'X-GNOME-Shell-Utilities.directory'
|
||||
i18n.merge_file(
|
||||
input: 'X-GNOME-Shell-Utilities.directory.desktop.in',
|
||||
output: '@BASENAME@'.replace('.desktop', ''),
|
||||
input: f'@desktop_directory@.desktop.in',
|
||||
output: desktop_directory,
|
||||
po_dir: po_dir,
|
||||
install: true,
|
||||
install_dir: join_paths(datadir, 'desktop-directories'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user