Revert "reftests: Remove window-show-contents-on-map.ui test"
This reverts commit 074b933ae4.
This commit is contained in:
@@ -439,6 +439,8 @@ testdata = [
|
||||
'window-default-size.ui',
|
||||
'window-height-for-width.ref.ui',
|
||||
'window-height-for-width.ui',
|
||||
'window-show-contents-on-map.ref.ui',
|
||||
'window-show-contents-on-map.ui',
|
||||
]
|
||||
|
||||
# These need to be fixed but the issue hasn't been tracked down.
|
||||
|
||||
16
testsuite/reftests/window-show-contents-on-map.ref.ui
Normal file
16
testsuite/reftests/window-show-contents-on-map.ref.ui
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="width_request">200</property>
|
||||
<property name="height_request">200</property>
|
||||
<property name="decorated">0</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="label" translatable="yes">This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize.</property>
|
||||
<property name="wrap">1</property>
|
||||
<property name="width_chars">20</property>
|
||||
<property name="max_width_chars">20</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
15
testsuite/reftests/window-show-contents-on-map.ui
Normal file
15
testsuite/reftests/window-show-contents-on-map.ui
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="decorated">0</property>
|
||||
<signal name="map" handler="gtk_widget_show" object="label1" after="yes" swapped="yes"/>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="visible">0</property>
|
||||
<property name="label" translatable="yes">This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize.</property>
|
||||
<property name="width_chars">20</property>
|
||||
<property name="wrap">1</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
Reference in New Issue
Block a user