BluetoothStatus: add a separator above Settings menu entry

Close bug #639704
This commit is contained in:
Luca Ferretti 2011-01-17 21:02:03 +01:00
parent 26aaecc33d
commit 05f9be046f

View File

@ -67,7 +67,8 @@ Indicator.prototype = {
this._fullMenuItems = [new PopupMenu.PopupSeparatorMenuItem(), this._fullMenuItems = [new PopupMenu.PopupSeparatorMenuItem(),
new PopupMenu.PopupMenuItem(_("Send Files to Device...")), new PopupMenu.PopupMenuItem(_("Send Files to Device...")),
new PopupMenu.PopupMenuItem(_("Setup a New Device..."))]; new PopupMenu.PopupMenuItem(_("Setup a New Device...")),
new PopupMenu.PopupSeparatorMenuItem()];
this._hasDevices = false; this._hasDevices = false;
this._deviceSep = this._fullMenuItems[0]; // hidden if no device exists this._deviceSep = this._fullMenuItems[0]; // hidden if no device exists