reftests: Add test for low mnemonics

Low mnemonics were invisible previously. This tests the fix from
9bb145a677
This commit is contained in:
Benjamin Otte 2011-05-03 12:05:45 +02:00
parent 97ad34c3a7
commit 3a5669afd0
3 changed files with 64 additions and 0 deletions

View File

@ -38,5 +38,7 @@ EXTRA_DIST += \
label-small-ellipsized.ui \
nonresizable-size.ref.ui \
nonresizable-size.ui \
quit-mnemonic.ref.ui \
quit-mnemonic.ui \
simpe.ref.png \
simple.ui

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Quit
</property>
<attributes>
<attribute name="underline" value="low" start="0" end="1"/>
</attributes>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Quit</property>
<attributes>
<attribute name="underline" value="low" start="0" end="1"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes"> </property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
</object>
</child>
</object>
</interface>