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

@ -2,6 +2,7 @@
const Clutter = imports.gi.Clutter;
const Shell = imports.gi.Shell;
const Gio = imports.gi.Gio;
const Signals = imports.signals;
const Mainloop = imports.mainloop;
const Tweener = imports.tweener.tweener;
@ -104,7 +105,9 @@ Signals.addSignalMethods(ClutterFrameTicker.prototype);
function start() {
let global = Shell.Global.get();
Gio.DesktopAppInfo.set_desktop_env("GNOME");
global.grab_dbus_service();
global.start_task_panel();