project: Port to GTK4 accessibility framework
This was simple, since few widgets have accessibility properties manually set. The 'static' role doesn't exist anymore, and GtkLabel handles everything for us, so we can just drop it.
This commit is contained in:
parent
262d6a6e7a
commit
a8484b9c07
|
@ -12,11 +12,6 @@
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
<property name="xalign">0.0</property>
|
<property name="xalign">0.0</property>
|
||||||
<property name="yalign">0.0</property>
|
<property name="yalign">0.0</property>
|
||||||
<child internal-child="accessible">
|
|
||||||
<object class="AtkObject">
|
|
||||||
<property name="AtkObject::accessible-role">static</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -140,11 +135,7 @@
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<object class="GtkPopoverMenu" id="oars_popover">
|
<object class="GtkPopoverMenu" id="oars_popover" />
|
||||||
<accessibility>
|
|
||||||
<relation target="oars_button" type="popup-for"/>
|
|
||||||
</accessibility>
|
|
||||||
</object>
|
|
||||||
|
|
||||||
<menu id="age_menu" />
|
<menu id="age_menu" />
|
||||||
|
|
||||||
|
|
|
@ -36,11 +36,9 @@
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<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">
|
<accessibility>
|
||||||
<object class="AtkObject">
|
<property name="label" translatable="yes">Previous Page</property>
|
||||||
<property name="accessible-name" translatable="yes">Previous Page</property>
|
</accessibility>
|
||||||
</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"/>
|
||||||
|
@ -59,11 +57,9 @@
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<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">
|
<accessibility>
|
||||||
<object class="AtkObject">
|
<property name="label" translatable="yes">Next Page</property>
|
||||||
<property name="accessible-name" translatable="yes">Next Page</property>
|
</accessibility>
|
||||||
</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"/>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<property name="user-manager">user_manager</property>
|
<property name="user-manager">user_manager</property>
|
||||||
<property name="show-administrators">False</property>
|
<property name="show-administrators">False</property>
|
||||||
<accessibility>
|
<accessibility>
|
||||||
<relation target="user_controls" type="controller-for"/>
|
<relation name="controls">user_controls</relation>
|
||||||
</accessibility>
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
@ -118,11 +118,6 @@
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="scale" value="1.4"/>
|
<attribute name="scale" value="1.4"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
<child internal-child="accessible">
|
|
||||||
<object class="AtkObject">
|
|
||||||
<property name="AtkObject::accessible-role">static</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|
Loading…
Reference in New Issue