a11y: calendar: Month name should be navigable

https://bugzilla.gnome.org/show_bug.cgi?id=706903
This commit is contained in:
Alejandro Piñeiro 2013-08-27 15:17:17 +02:00
parent 40ae408b3b
commit 4e80758970
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -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',