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