From c79bdd9029c5b01c06fa3e3430fc8ad3bfdf73aa Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 3 Oct 2013 14:26:21 +0200 Subject: [PATCH] NetworkMenu/NMConnectionDevice: fix status text Be consistent with v4 mockups https://bugzilla.gnome.org/show_bug.cgi?id=709043 --- js/ui/status/network.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 78e44f395..c81e94c01 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -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) */