gtk-demo: Simplify the run button

Don't create the label manually. It is not necessary,
and letting the button do it also improves the
accessibility setup.
This commit is contained in:
Matthias Clasen 2020-11-04 12:54:48 -05:00
parent f220a1e3c7
commit d2a7ecf72c

View File

@ -28,14 +28,7 @@
<object class="GtkButton"> <object class="GtkButton">
<property name="valign">center</property> <property name="valign">center</property>
<property name="action-name">win.run</property> <property name="action-name">win.run</property>
<style> <property name="label" translatable="yes">Run</property>
<class name="text-button"/>
</style>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Run</property>
</object>
</child>
</object> </object>
</child> </child>
<child type="end"> <child type="end">