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:
Alejandro Piñeiro 2012-08-24 16:52:43 +02:00
parent 9dafaa2c0c
commit 6ea80eadd6

View File

@ -1186,7 +1186,7 @@ const SummaryItem = new Lang.Class({
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO | St.ButtonMask.THREE,
can_focus: true,
track_hover: true });
this.actor.label_actor = new St.Label({ text: source.title });
this._sourceBox = new St.BoxLayout({ style_class: 'summary-source' });
this._sourceIcon = source.getSummaryIcon();