Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 851893 Details for
Bug 1031583
wifi network device turn off/on modifies all wifi devices, rather than just the one selected.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Allow disconnect on a per-device basis.
toggle-wifi-disconnects-only.patch (text/plain), 1.18 KB, created by
zachw
on 2014-01-18 06:18:19 UTC
(
hide
)
Description:
Allow disconnect on a per-device basis.
Filename:
MIME Type:
Creator:
zachw
Created:
2014-01-18 06:18:19 UTC
Size:
1.18 KB
patch
obsolete
>diff --git a/js/ui/status/network.js b/js/ui/status/network.js >index 0ff2037..560762e 100644 >--- a/js/ui/status/network.js >+++ b/js/ui/status/network.js >@@ -1061,7 +1061,9 @@ const NMDeviceWireless = new Lang.Class({ > }, > > _toggleWifi: function() { >- this._client.wireless_enabled = !this._client.wireless_enabled; >+ if (this._device.state == NetworkManager.DeviceState.ACTIVATED) { >+ this._device.disconnect(null); >+ } > }, > > _showDialog: function() { >@@ -1096,8 +1098,13 @@ const NMDeviceWireless = new Lang.Class({ > }, > > _sync: function() { >- this._toggleItem.label.text = this._client.wireless_enabled ? _("Turn Off") : _("Turn On"); >- this._toggleItem.actor.visible = this._client.wireless_hardware_enabled; >+ if (this._device.state == NetworkManager.DeviceState.ACTIVATED) { >+ this._toggleItem.label.text = _("Disconnect"); >+ this._toggleItem.actor.visible = true; >+ } else { >+ this._toggleItem.label.text = _("NULL"); >+ this._toggleItem.actor.visible = false; >+ } > > this.item.status.text = this._getStatus(); > this.item.icon.icon_name = this._getMenuIcon();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1031583
: 851893