dateMenu: Set label_actor for WorldClock button

Ideally we would allow navigating into the button in the screen
reader case, so the configured clocks are read out properly.
However we can still do better than nothing short-term by pointing
to the section header as the button's label_actor.

https://bugzilla.gnome.org/show_bug.cgi?id=745393
This commit is contained in:
Florian Müllner 2015-03-03 23:22:02 +01:00
parent 39a57eea4d
commit bb2d7f7e7e

View File

@ -163,6 +163,7 @@ const WorldClocksSection = new Lang.Class({
x_align: Clutter.ActorAlign.START,
text: title });
layout.attach(header, 0, 0, 2, 1);
this.actor.label_actor = header;
for (let i = 0; i < this._locations.length; i++) {
let l = this._locations[i].location;