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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user