gtk-demo: Use mnemonics in menu buttons

Use GtkMenuButton:use-underline in the modelbutton demo.
This commit is contained in:
Matthias Clasen 2020-03-27 22:31:18 -04:00
parent ba25e08e7b
commit 163aa82d45

View File

@ -18,19 +18,22 @@
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="popover">thing_a</property> <property name="popover">thing_a</property>
<property name="label">Color</property> <property name="label">_Color</property>
<property name="use-underline">1</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="popover">thing_b</property> <property name="popover">thing_b</property>
<property name="label">Flavors</property> <property name="label">_Flavors</property>
<property name="use-underline">1</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="popover">thing_c</property> <property name="popover">thing_c</property>
<property name="label">Tools</property> <property name="label">_Tools</property>
<property name="use-underline">1</property>
</object> </object>
</child> </child>
</object> </object>