malcontent-control: Add basic accessibility support to g-c-c widgets
Not submitting this upstream as it hasn’t been tested thoroughly enough. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
9e73c34664
commit
484993b658
|
@ -43,6 +43,11 @@
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="icon-size">4</property>
|
<property name="icon-size">4</property>
|
||||||
<property name="icon_name">go-previous-symbolic</property>
|
<property name="icon_name">go-previous-symbolic</property>
|
||||||
|
<child internal-child="accessible">
|
||||||
|
<object class="AtkObject">
|
||||||
|
<property name="accessible-name" translatable="yes">Previous Page</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<signal name="clicked" handler="mct_carousel_goto_previous_page" object="MctCarousel" swapped="no"/>
|
<signal name="clicked" handler="mct_carousel_goto_previous_page" object="MctCarousel" swapped="no"/>
|
||||||
|
@ -64,6 +69,11 @@
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="icon-size">4</property>
|
<property name="icon-size">4</property>
|
||||||
<property name="icon_name">go-next-symbolic</property>
|
<property name="icon_name">go-next-symbolic</property>
|
||||||
|
<child internal-child="accessible">
|
||||||
|
<object class="AtkObject">
|
||||||
|
<property name="accessible-name" translatable="yes">Next Page</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<signal name="clicked" handler="mct_carousel_goto_next_page" object="MctCarousel" swapped="no"/>
|
<signal name="clicked" handler="mct_carousel_goto_next_page" object="MctCarousel" swapped="no"/>
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="weight" value="bold" />
|
<attribute name="weight" value="bold" />
|
||||||
</attributes>
|
</attributes>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="listbox" type="label-for"/>
|
||||||
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="top-attach">0</property>
|
<property name="top-attach">0</property>
|
||||||
|
@ -36,6 +39,9 @@
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="scale" value="0.83333" />
|
<attribute name="scale" value="0.83333" />
|
||||||
</attributes>
|
</attributes>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="listbox" type="description-for"/>
|
||||||
|
</accessibility>
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
|
@ -81,6 +87,9 @@
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="weight" value="bold" />
|
<attribute name="weight" value="bold" />
|
||||||
</attributes>
|
</attributes>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="allow_web_browsers_switch" type="label-for"/>
|
||||||
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="top-attach">3</property>
|
<property name="top-attach">3</property>
|
||||||
|
@ -100,6 +109,9 @@
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="scale" value="0.83333" />
|
<attribute name="scale" value="0.83333" />
|
||||||
</attributes>
|
</attributes>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="allow_web_browsers_switch" type="description-for"/>
|
||||||
|
</accessibility>
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
|
@ -126,6 +138,9 @@
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="allow_web_browsers_switch" type="label-for"/>
|
||||||
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
@ -179,6 +194,9 @@
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="allow_user_installation_switch" type="label-for"/>
|
||||||
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
@ -215,6 +233,9 @@
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="allow_system_installation_switch" type="label-for"/>
|
||||||
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
@ -251,6 +272,10 @@
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
|
<accessibility>
|
||||||
|
<relation target="restriction_button" type="label-for"/>
|
||||||
|
<relation target="restriction_button" type="flows-to"/>
|
||||||
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
@ -274,7 +299,12 @@
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<object class="GtkPopoverMenu" id="restriction_popover" />
|
<object class="GtkPopoverMenu" id="restriction_popover">
|
||||||
|
<accessibility>
|
||||||
|
<relation target="restriction_button" type="popup-for"/>
|
||||||
|
</accessibility>
|
||||||
|
</object>
|
||||||
|
|
||||||
<menu id="age_menu" />
|
<menu id="age_menu" />
|
||||||
|
|
||||||
<object class="GtkSizeGroup">
|
<object class="GtkSizeGroup">
|
||||||
|
|
Loading…
Reference in New Issue