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">
|
||||
<property name="valign">center</property>
|
||||
<property name="action-name">win.run</property>
|
||||
<style>
|
||||
<class name="text-button"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Run</property>
|
||||
</object>
|
||||
</child>
|
||||
<property name="label" translatable="yes">Run</property>
|
||||
</object>
|
||||
</child>
|
||||
<child type="end">
|
||||
|
Loading…
Reference in New Issue
Block a user