Commit 021140d8 authored by Jeremy Bicha's avatar Jeremy Bicha 🎹 Committed by Georges Basile Stavracas Neto

datetime: Use accessible-description instead of -name for Hour & Minute

In my testing, default orca didn't seem to read the "Hour" or "Minute"
words when we used accessible-name but it does work with
accessible-description.

This is the only place we used accessible-name in gnome-control-center
but we use accessible-description in a few other places.
parent 7cac1854
......@@ -110,7 +110,7 @@
<signal name="value-changed" handler="change_time" object="CcDateTimePanel" swapped="yes"/>
<child internal-child="accessible">
<object class="AtkObject" id="h_spinbutton-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Hour</property>
<property name="AtkObject::accessible-description" translatable="yes">Hour</property>
</object>
</child>
</object>
......@@ -149,7 +149,7 @@
<signal name="value-changed" handler="change_time" object="CcDateTimePanel" swapped="yes"/>
<child internal-child="accessible">
<object class="AtkObject" id="m_spinbutton-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Minute</property>
<property name="AtkObject::accessible-description" translatable="yes">Minute</property>
</object>
</child>
</object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment