NetworkMenu/NMConnectionDevice: fix status text
Be consistent with v4 mockups https://bugzilla.gnome.org/show_bug.cgi?id=709043
This commit is contained in:
parent
6a154efe65
commit
c79bdd9029
@ -367,8 +367,9 @@ const NMConnectionDevice = new Lang.Class({
|
||||
|
||||
switch(this._device.state) {
|
||||
case NetworkManager.DeviceState.DISCONNECTED:
|
||||
return _("Off");
|
||||
case NetworkManager.DeviceState.ACTIVATED:
|
||||
return '';
|
||||
return this.parent();
|
||||
case NetworkManager.DeviceState.UNMANAGED:
|
||||
/* Translators: this is for network devices that are physically present but are not
|
||||
under NetworkManager's control (and thus cannot be used in the menu) */
|
||||
|
Loading…
Reference in New Issue
Block a user