a11y: set a label_actor for the summary items on the message tray
https://bugzilla.gnome.org/show_bug.cgi?id=677229
This commit is contained in:
parent
9dafaa2c0c
commit
6ea80eadd6
@ -1186,7 +1186,7 @@ const SummaryItem = new Lang.Class({
|
|||||||
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO | St.ButtonMask.THREE,
|
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO | St.ButtonMask.THREE,
|
||||||
can_focus: true,
|
can_focus: true,
|
||||||
track_hover: true });
|
track_hover: true });
|
||||||
|
this.actor.label_actor = new St.Label({ text: source.title });
|
||||||
this._sourceBox = new St.BoxLayout({ style_class: 'summary-source' });
|
this._sourceBox = new St.BoxLayout({ style_class: 'summary-source' });
|
||||||
|
|
||||||
this._sourceIcon = source.getSummaryIcon();
|
this._sourceIcon = source.getSummaryIcon();
|
||||||
|
Loading…
Reference in New Issue
Block a user