gnome-shell/js/ui/status
Florian Müllner 58d29f95a7 status/network: Track device sections as device sections
The _devices property is another case of overloading the
"device" term.

Fun fact:

  this._devices[device._delegate.category].devices

uses three different meanings of "device" (section, NM.Device, item).

The devices array in sections won't be around for much longer,
but the property that tracks the sections is worth renaming.

While at it, use a map instead of a plain object, which has a
guaranteed order when iterating (which will come in handy later).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2406>
2022-08-07 22:41:09 +02:00
..
accessibility.js js: Use templates for non-translatable strings 2022-02-12 12:29:52 +00:00
autoRotate.js status/autoRotate: Port to quick settings 2022-08-02 16:05:28 +00:00
bluetooth.js status/bluetooth: Port to quick settings 2022-08-02 16:05:28 +00:00
brightness.js status/brightness: Port to quick settings 2022-08-03 12:41:05 +00:00
darkMode.js status/darkMode: Add dark mode toggle 2022-08-02 16:05:28 +00:00
dwellClick.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
keyboard.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
location.js status/location: Move to quick settings 2022-08-02 16:05:28 +00:00
network.js status/network: Track device sections as device sections 2022-08-07 22:41:09 +02:00
nightLight.js status/nightLight: Port to quick settings 2022-08-02 16:05:28 +00:00
powerProfiles.js status/powerProfiles: Port to quick settings 2022-08-03 12:41:05 +00:00
remoteAccess.js status/remoteAccess: Move to quick settings 2022-08-02 16:05:28 +00:00
rfkill.js status/rfkill: Port to quick settings 2022-08-02 16:05:28 +00:00
system.js status/power: Merge with system indicator 2022-08-03 12:41:05 +00:00
thunderbolt.js status/thunderbolt: Move to quick settings 2022-08-02 16:05:28 +00:00
volume.js status/volume: Port to quick settings 2022-08-03 12:41:05 +00:00