gnome-shell/js/ui/status
Florian Müllner c2139b27da status/network: Use submenus when necessary
We currently stopped using submenus altogether, but that only works

 - if there is a single connection that represents
   the device as a whole

 - if there is just one device, so it is unambiguous
   what device items belong to

To implement that behavior, add a 'single-device-mode' property that
NMDeviceSection can set on its items, and have items update their
'use-submenu' property based on that.

For wireless devices it's a straight mapping, as its items represent
wireless networks that can appear and disappear by just walking around
(multiple wifi adapters also sounds rather fringey).

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: Use submenus when necessary 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