shell-global.c: remove a log message about missing 'Categories' key in the desktop file, as this key is not required

main.js: set desktop environment to "GNOME" so that GIO can determine correctly which applications should be shown in the menus.

appDisplay.js: filter out applications that should not be shown in the menus, check if get_executable() for GAppInfo is not null before using it   

svn path=/trunk/; revision=163
This commit is contained in:
Marina Zhurakhinskaya
2009-01-22 21:28:19 +00:00
parent 5280decb59
commit b2fbf5a2d8
3 changed files with 17 additions and 6 deletions

View File

@ -378,7 +378,7 @@ shell_get_categories_for_desktop_file(const char *desktop_file_name)
&error);
if (error != NULL)
{
g_warning ("Error when getting 'Categories' from a key file %s: %s", desktop_file_name, error->message);
// "Categories" is not a required key in the desktop files, so it's ok if we didn't find it
g_clear_error (&error);
}
}