theme: Add focus indication for dnd switch in message list controls
It currently is difficult to see what's being focused in the messages list currently because of that. Fixes #2447 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1920>
This commit is contained in:
@ -954,10 +954,12 @@ class CalendarMessageList extends St.Widget {
|
||||
|
||||
this._dndSwitch = new DoNotDisturbSwitch();
|
||||
this._dndButton = new St.Button({
|
||||
style_class: 'dnd-button',
|
||||
can_focus: true,
|
||||
toggle_mode: true,
|
||||
child: this._dndSwitch,
|
||||
label_actor: dndLabel,
|
||||
y_align: Clutter.ActorAlign.CENTER,
|
||||
});
|
||||
this._dndSwitch.bind_property('state',
|
||||
this._dndButton, 'checked',
|
||||
|
Reference in New Issue
Block a user