Kill Ubuntu indicators on start-up

Canonical replaced status icons with libindicator based solutions,
which don't work in the shell environment. Force the distro-patched
versions to fall-back to upstream.

https://bugzilla.gnome.org/show_bug.cgi?id=621382
This commit is contained in:
Florian Müllner 2010-06-12 17:48:10 +02:00
parent 362fc78dcf
commit 9baf8e19ea

View File

@ -623,6 +623,14 @@ Panel.prototype = {
/* right */ /* right */
// Yet-another-Ubuntu-workaround - we have to kill their
// app-indicators, so that applications fall back to normal
// status icons
// http://bugzilla.gnome.org/show_bug.cgi=id=621382
let p = new Shell.Process({ args: ['pkill', '-f',
'^([^ ]*/)?indicator-application-service$']});
p.run();
// The tray icons live in trayBox within trayContainer. // The tray icons live in trayBox within trayContainer.
// The trayBox is hidden when there are no tray icons. // The trayBox is hidden when there are no tray icons.
let trayContainer = new St.Bin({ y_align: St.Align.MIDDLE }); let trayContainer = new St.Bin({ y_align: St.Align.MIDDLE });