forked from AuroraMiddleware/gtk
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:
parent
f220a1e3c7
commit
d2a7ecf72c
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user