Skip to content

Add the .desktop suffix if needed in gs_utils_get_desktop_app_info

Joaquim Rocha requested to merge jrocha/improve-getting-desktop-file into master

The desktop ID given to g_desktop_app_info_new (called from gs_utils_get_desktop_app_info) needs to have the .desktop suffix. So, for convenience this patch ensures that the mentioned utils' function adds the .desktop suffix when the given ID doesn't have it.

Edited by Joaquim Rocha

Merge request reports