a11y: calendar: full date string should be navigable
Also moved the set of label_actor of the menu some lines before, to improve readability. https://bugzilla.gnome.org/show_bug.cgi?id=706903
This commit is contained in:
parent
4e80758970
commit
a4c1eb12b4
@ -1261,6 +1261,10 @@ StScrollBar StButton#vhandle:active {
|
|||||||
color: #eeeeec;
|
color: #eeeeec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.datemenu-date-label:focus {
|
||||||
|
background-color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
.calendar-day-base {
|
.calendar-day-base {
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -50,6 +50,7 @@ const DateMenuButton = new Lang.Class({
|
|||||||
this.parent(menuAlignment);
|
this.parent(menuAlignment);
|
||||||
|
|
||||||
this._clockDisplay = new St.Label({ y_align: Clutter.ActorAlign.CENTER });
|
this._clockDisplay = new St.Label({ y_align: Clutter.ActorAlign.CENTER });
|
||||||
|
this.actor.label_actor = this._clockDisplay;
|
||||||
this.actor.add_actor(this._clockDisplay);
|
this.actor.add_actor(this._clockDisplay);
|
||||||
this.actor.add_style_class_name ('clock-display');
|
this.actor.add_style_class_name ('clock-display');
|
||||||
|
|
||||||
@ -62,9 +63,8 @@ const DateMenuButton = new Lang.Class({
|
|||||||
hbox.add(vbox);
|
hbox.add(vbox);
|
||||||
|
|
||||||
// Date
|
// Date
|
||||||
this._date = new St.Label();
|
this._date = new St.Label({ style_class: 'datemenu-date-label',
|
||||||
this.actor.label_actor = this._clockDisplay;
|
can_focus: true });
|
||||||
this._date.style_class = 'datemenu-date-label';
|
|
||||||
vbox.add(this._date);
|
vbox.add(this._date);
|
||||||
|
|
||||||
this._eventList = new Calendar.EventsList();
|
this._eventList = new Calendar.EventsList();
|
||||||
|
Loading…
Reference in New Issue
Block a user