[gnome-shell] dateMenu: Set label_actor for WorldClock button
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dateMenu: Set label_actor for WorldClock button
- Date: Wed, 4 Mar 2015 13:05:21 +0000 (UTC)
commit bb2d7f7e7e6dfc6096472ec0a05f5b2870697e5e
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Mar 3 23:22:02 2015 +0100
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
js/ui/dateMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index cd77c41..7307d7d 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]