status: Remove unneeded pkill call

The bluetooth-applet is only started in the fallback session,
not when running under the shell.

https://bugzilla.gnome.org/show_bug.cgi?id=647587
This commit is contained in:
Bastien Nocera 2011-11-30 13:42:24 +01:00
parent bbb83656bf
commit 10df80b96a

View File

@ -30,7 +30,6 @@ const Indicator = new Lang.Class({
_init: function() { _init: function() {
this.parent('bluetooth-disabled', null); this.parent('bluetooth-disabled', null);
GLib.spawn_command_line_sync ('pkill -f "^bluetooth-applet$"');
this._applet = new GnomeBluetoothApplet.Applet(); this._applet = new GnomeBluetoothApplet.Applet();
this._killswitch = new PopupMenu.PopupSwitchMenuItem(_("Bluetooth"), false); this._killswitch = new PopupMenu.PopupSwitchMenuItem(_("Bluetooth"), false);