mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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>
(cherry picked from commit 9711a918e7)
This commit is contained in:
parent
05bd285b97
commit
b0baf0fd15
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue