gnome-shell/js/ui/status
Georges Basile Stavracas Neto 9d75d777c7 status/network: Only show custom wired names
Thanks to NetworkManager's connection name disambiguation, it's
pretty common for single wired connections to be named "Wired". This
is fine and what we want almost all times, but in the specific case
of quick settings, we already have a "Wired" string set as title of
the quick settings toggle, so having that as subtitle is reduntant.

Hide the subtitle label (by returning null) when the subtitle of
a wired network matches the title.

Fixes ab10b95d2d
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6369

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2627>
2023-02-06 08:22:48 -03:00
..
accessibility.js js: Use templates for non-translatable strings 2022-02-12 12:29:52 +00:00
autoRotate.js quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03:00
bluetooth.js quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03: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: Use better indicator icon 2022-08-19 09:44:57 +00:00
network.js status/network: Only show custom wired names 2023-02-06 08:22:48 -03: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 quickSettings: Rename 'label' property to 'title' 2023-02-04 14:50:36 -03:00
thunderbolt.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
volume.js Revert "status/volume: Clear device menus when unsetting stream" 2023-01-27 12:53:33 +00:00