Setting proper name and role for system menu sliders

https://bugzilla.gnome.org/show_bug.cgi?id=706391
This commit is contained in:
Alejandro Piñeiro
2013-08-21 18:24:30 +02:00
parent c3c529b001
commit dd1651f2d1
3 changed files with 10 additions and 1 deletions

View File

@ -39,6 +39,7 @@ const Indicator = new Lang.Class({
this._slider = new Slider.Slider(0);
this._slider.connect('value-changed', Lang.bind(this, this._sliderChanged));
this._slider.actor.accessible_name = _("Brightness");
let icon = new St.Icon({ icon_name: 'display-brightness-symbolic',
style_class: 'popup-menu-icon' });