mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
reftests: Add animation loading test
XPM files weren't loaded properly. https://bugzilla.gnome.org/show_bug.cgi?id=695228
This commit is contained in:
parent
0cc688aa92
commit
b7aa15f505
@ -207,6 +207,7 @@ EXTRA_DIST += \
|
||||
linear-gradient.css \
|
||||
linear-gradient.ref.ui \
|
||||
linear-gradient.ui \
|
||||
marble.xpm \
|
||||
messagedialog-secondarytext.ui \
|
||||
messagedialog-secondarytext.ref.ui \
|
||||
misc-alignment.css \
|
||||
|
@ -1,3 +1,7 @@
|
||||
#reference {
|
||||
#reference1 {
|
||||
background: lime;
|
||||
}
|
||||
|
||||
#reference2 {
|
||||
background: url("marble.xpm") no-repeat;
|
||||
}
|
||||
|
@ -5,12 +5,39 @@
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image1">
|
||||
<object class="GtkBox" id="box1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="width_request">20</property>
|
||||
<property name="height_request">20</property>
|
||||
<property name="name">reference</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="width_request">20</property>
|
||||
<property name="height_request">20</property>
|
||||
<property name="name">reference1</property>
|
||||
<property name="halign">center</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImage" id="image2">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="width_request">384</property>
|
||||
<property name="height_request">384</property>
|
||||
<property name="name">reference2</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -5,10 +5,34 @@
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image1">
|
||||
<object class="GtkBox" id="box1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="file">green-20x20.png</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="file">green-20x20.png</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImage" id="image2">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="file">marble.xpm</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
408
tests/reftests/marble.xpm
Normal file
408
tests/reftests/marble.xpm
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user