[gnome-shell] a11y: calendar: Month name should be navigable
- From: Alejandro Piñeiro Iglesias <apinheiro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] a11y: calendar: Month name should be navigable
- Date: Wed, 28 Aug 2013 17:17:11 +0000 (UTC)
commit 4e8075897021209920b28abdfac4c6125aa24a7b
Author: Alejandro Piñeiro <apinheiro igalia com>
Date: Tue Aug 27 15:17:17 2013 +0200
a11y: calendar: Month name should be navigable
https://bugzilla.gnome.org/show_bug.cgi?id=706903
data/theme/gnome-shell.css | 4 ++++
js/ui/calendar.js | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 5a4b564..015a892 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1212,6 +1212,10 @@ StScrollBar StButton#vhandle:active {
padding-top: 8px;
}
+.calendar-month-label:focus {
+ background-color: #999999;
+}
+
.calendar-change-month-back {
width: 18px;
height: 12px;
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index cb5a294..75dcbb6 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -449,7 +449,8 @@ const Calendar = new Lang.Class({
this._topBox.add(this._backButton);
this._backButton.connect('clicked', Lang.bind(this, this._onPrevMonthButtonClicked));
- this._monthLabel = new St.Label({style_class: 'calendar-month-label'});
+ this._monthLabel = new St.Label({style_class: 'calendar-month-label',
+ can_focus: true });
this._topBox.add(this._monthLabel, { expand: true, x_fill: false, x_align: St.Align.MIDDLE });
this._forwardButton = new St.Button({ style_class: 'calendar-change-month-forward',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]