diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 892e6ca4d..bc653bc60 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -679,12 +679,13 @@ var NetworkAgent = class { let connectionSetting = connection.get_setting_connection(); let connectionType = connectionSetting.get_connection_type(); switch (connectionType) { - case '802-11-wireless': + case '802-11-wireless': { let wirelessSetting = connection.get_setting_wireless(); let ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data()); title = _("Authentication required by wireless network"); body = _("Passwords or encryption keys are required to access the wireless network ā€œ%sā€.").format(ssid); break; + } case '802-3-ethernet': title = _("Wired 802.1X authentication"); body = _("A password is required to connect to ā€œ%sā€.".format(connection.get_id())); diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index edcfdecc8..32550b7a3 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -549,7 +549,7 @@ var Inspector = GObject.registerClass({ _onScrollEvent(actor, event) { switch (event.get_scroll_direction()) { - case Clutter.ScrollDirection.UP: + case Clutter.ScrollDirection.UP: { // select parent let parent = this._target.get_parent(); if (parent != null) { @@ -557,6 +557,7 @@ var Inspector = GObject.registerClass({ this._update(event); } break; + } case Clutter.ScrollDirection.DOWN: // select child