Checks if the application info should be shown in menus that list available
applications for a specific name of the desktop, based on the
OnlyShowIn and NotShowIn keys.
If desktop_env is NULL, then the name of the desktop set with
g_desktop_app_info_set_desktop_env() is used.
Note that g_app_info_should_show() for info will include this check (with
NULL for desktop_env) as well as additional checks.
Since 2.30
Checks if the application info should be shown in menus that list available applications for a specific name of the desktop, based on the OnlyShowIn and NotShowIn keys. If desktop_env is NULL, then the name of the desktop set with g_desktop_app_info_set_desktop_env() is used. Note that g_app_info_should_show() for info will include this check (with NULL for desktop_env) as well as additional checks. Since 2.30