summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2023-04-23 21:10:40 +0200
committerFlorian Müllner <fmuellner@gnome.org>2023-04-25 14:16:42 +0000
commit9711a918e73a2959be7f7966db300615035468c9 (patch)
treece647ad4094cf307093b50653a7c0fdf492d152a
parent94345825a71919e4f287b6cd041f1f8d4b3d05c1 (diff)
downloadgnome-shell-9711a918e73a2959be7f7966db300615035468c9.tar.gz
status/bluetooth: Use 'Alias' for item labels
Unlike 'Name', the 'Alias' property can be changed by the user, so it's more suitable for user-visible labels. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6626 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2751>
-rw-r--r--js/ui/status/bluetooth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js
index 8f1d82a94..2977a4d94 100644
--- a/js/ui/status/bluetooth.js
+++ b/js/ui/status/bluetooth.js
@@ -212,7 +212,7 @@ class BluetoothDeviceItem extends PopupMenu.PopupBaseMenuItem {
this._device.bind_property('icon',
this._icon, 'icon-name',
GObject.BindingFlags.SYNC_CREATE);
- this._device.bind_property('name',
+ this._device.bind_property('alias',
this._label, 'text',
GObject.BindingFlags.SYNC_CREATE);
this._device.bind_property_full('connected',