reftests: Test that nonresizable windows get the right size

We want the default size, not the minimum one. This tests the fixes from
4f23dc34be
This commit is contained in:
Benjamin Otte 2011-05-03 11:18:04 +02:00
parent 32a3ad412e
commit 97ad34c3a7
3 changed files with 34 additions and 0 deletions

View File

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

View File

@ -0,0 +1,15 @@
<?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">Hello World</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,17 @@
<?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>
<property name="resizable">False</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Hello World</property>
<property name="ellipsize">end</property>
</object>
</child>
</object>
</interface>