From b0baf0fd153c46495249d79fd4eb5d794e1281d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 23 Apr 2023 21:10:40 +0200 Subject: [PATCH] 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: (cherry picked from commit 9711a918e73a2959be7f7966db300615035468c9) --- js/ui/status/bluetooth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',