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,16 +28,9 @@
|
|||||||
<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>
|
|
||||||
<class name="text-button"/>
|
|
||||||
</style>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
|
||||||
<property name="label" translatable="yes">Run</property>
|
<property name="label" translatable="yes">Run</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GtkMenuButton" id="gear_menu_button">
|
<object class="GtkMenuButton" id="gear_menu_button">
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user