bluetooth: Actually add the menu item to the bluetooth menu

https://bugzilla.gnome.org/show_bug.cgi?id=708541
This commit is contained in:
Jasper St. Pierre 2013-09-21 12:57:41 -04:00 committed by Bastien Nocera
parent 491e60e4f2
commit 005272bde9

View File

@ -31,6 +31,7 @@ const Indicator = new Lang.Class({
this._applet.killswitch_state = GnomeBluetooth.KillswitchState.SOFT_BLOCKED;
}));
this._item.menu.addSettingsAction(_("Bluetooth Settings"), 'gnome-bluetooth-panel.desktop');
this.menu.addMenuItem(this._item);
this._applet = new GnomeBluetoothApplet.Applet();
this._applet.connect('devices-changed', Lang.bind(this, this._sync));