gnome-shell/js/ui/status
Florian Müllner 59a3963647 status/network: Create indicator sections in constructor
We currently wait until we got a connection to NetworkManager.

That's possible because the old PanelMenu indicator API takes
a menu, so it is possible to add or remove items dynamically
later.

That won't be the case with quick settings, where `quickSettingsItems`
is a plain array that is only read once when adding the indicator.

Prepare for that by moving section initialization into the constructor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2407>
2022-08-10 12:17:19 +00: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 cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00
location.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
network.js status/network: Create indicator sections in constructor 2022-08-10 12:17:19 +00:00
nightLight.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
powerProfiles.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
remoteAccess.js status/remoteAccess: Move to quick settings 2022-08-02 16:05:28 +00:00
rfkill.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00
system.js status/power: Merge with system indicator 2022-08-03 12:41:05 +00:00
thunderbolt.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
volume.js status/volume: Port to quick settings 2022-08-03 12:41:05 +00:00