Skip to content

[knewfilemenu] Always add .desktop suffix when creating link file

Nicolas Fella requested to merge work/alwaysdesktop into master

Currently we take the user-supplied label as file name and only append .desktop when we think the file will be mis-detected without the suffix

However, that's somewhat brittle, for example tomorrow someone could add a new mimetype to shared-mime-info that causes the existing file to be misdetected

Better play it safe and always add the desktop suffix

Merge request reports

Loading