gnome-shell/js/ui/status
Georges Basile Stavracas Neto 9e19f27e45 status/network: Generalize code to hide subtitle
Commit 9d75d777c7 introduced code to hide the subtitle of the
quick setting toggle when it matches the title of the toggle.
That's because NetworkManager tries to make the network names
more palatable on its own, and reports that the name of single
wired networks is "Wired" even if it may have another name.

What that commit failed to account for, however, is that there are
other circumstances where we end up with a subtitle is exactly the
same of the title. For example, when turning off Wi-Fi or mobile
broadband connections.

The behaviour of commit 9d75d777c7 is safe enough to be applied
on other device-backed connections, so do it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2682>
2023-03-21 20:52:31 +00:00
..
accessibility.js a11y menu: Add "All Accessibility Settings" entry 2023-02-07 14:59:58 +00:00
autoRotate.js quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03:00
backgroundApps.js status/backgroundApps: Add section title 2023-03-19 12:06:06 +00:00
bluetooth.js status/bluetooth: Fix bluetooth placeholder text alignment 2023-03-19 12:32:55 +00:00
brightness.js status/brightness: Port to quick settings 2022-08-03 12:41:05 +00:00
darkMode.js quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03:00
dwellClick.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
keyboard.js keyboard: Add "Keyboard Settings" menu entry 2023-01-13 16:05:25 +00:00
location.js status/location: Handle geoclue not being activatable 2023-03-19 12:46:50 +00:00
network.js status/network: Generalize code to hide subtitle 2023-03-21 20:52:31 +00:00
nightLight.js quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03:00
powerProfiles.js status/powerProfiles: Set profile name as subtitle 2023-02-04 14:50:36 -03:00
remoteAccess.js status/remoteAccess: Don't override existing style classes 2022-11-18 18:50:43 +01:00
rfkill.js quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03:00
system.js status/system: Fix missing battery percentage in the top bar 2023-02-22 13:21:15 -08:00
thunderbolt.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
volume.js status/volume: Unmute to default volume when at 0 2023-02-14 21:28:44 +00:00