[gnome-shell] Kill Ubuntu indicators on start-up
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Kill Ubuntu indicators on start-up
- Date: Thu, 17 Jun 2010 16:45:21 +0000 (UTC)
commit 9baf8e19ea97835ddb2d9f79b65d8d588bc1930e
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Jun 12 17:48:10 2010 +0200
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
js/ui/panel.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 157113f..25b0153 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -623,6 +623,14 @@ Panel.prototype = {
/* 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 trayBox is hidden when there are no tray icons.
let trayContainer = new St.Bin({ y_align: St.Align.MIDDLE });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]