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>
This commit is contained in:
parent
94345825a7
commit
9711a918e7
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user