testsuite/css: Update UI files

Run the UI files through `gtk-builder-tool simplify --3to4` to update
the layout properties.
This commit is contained in:
Emmanuele Bassi 2019-04-05 00:49:33 +01:00
parent 5d778175ee
commit 824743a395
24 changed files with 82 additions and 176 deletions

View File

@ -1,28 +1,21 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label1</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label2</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label3</property>
</object>
</child>

View File

@ -1,28 +1,21 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label1</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label2</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label3</property>
</object>
</child>

View File

@ -1,134 +1,118 @@
<?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>
<child>
<object class="GtkToggleButton" id="button1">
<property name="label" translatable="yes">Hello World!</property>
<property name="visible">True</property>
<property name="active">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="active">1</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<layout>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</layout>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="button2">
<property name="label" translatable="yes">Hello World!</property>
<property name="visible">True</property>
<property name="active">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<layout>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</layout>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="button3">
<property name="label" translatable="yes">Hello World!</property>
<property name="visible">True</property>
<property name="active">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<layout>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
</layout>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="button4">
<property name="label" translatable="yes">Hello World!</property>
<property name="visible">True</property>
<property name="active">True</property>
<property name="active">1</property>
<property name="group">button3</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<layout>
<property name="left_attach">3</property>
<property name="top_attach">0</property>
</layout>
</object>
<packing>
<property name="left_attach">3</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="button5">
<property name="visible">True</property>
<property name="active">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="active">1</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<layout>
<property name="left_attach">4</property>
<property name="top_attach">0</property>
</layout>
</object>
<packing>
<property name="left_attach">4</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="button6">
<property name="visible">True</property>
<property name="active">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<child internal-child="accessible">
<object class="AtkObject" id="button6-accessible">
<property name="accessible-name">Test switch</property>
</object>
</child>
<layout>
<property name="left_attach">5</property>
<property name="top_attach">0</property>
</layout>
</object>
<packing>
<property name="left_attach">5</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button7">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="label">Text Button</property>
<layout>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</layout>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button8">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="icon-name">edit-find-replace</property>
<property name="halign">center</property>
<property name="valign">center</property>
<layout>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</layout>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button9">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="icon-name">window-close-symbolic</property>
<layout>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
</layout>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
</packing>
</child>
</object>
</child>

View File

@ -1,19 +1,14 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkCheckButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
@ -21,10 +16,8 @@
</child>
<child>
<object class="GtkRadioButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>

View File

@ -1,19 +1,14 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkCheckButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
@ -21,10 +16,8 @@
</child>
<child>
<object class="GtkRadioButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>

View File

@ -1,14 +1,11 @@
<?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="GtkBox" id="box1">
<child>
<object class="GtkComboBoxText" id="combo1">
<property name="visible">True</property>
<items>
<item id="one">One</item>
<item id="two">Two</item>
@ -18,8 +15,7 @@
</child>
<child>
<object class="GtkComboBoxText" id="combo2">
<property name="visible">True</property>
<property name="has-entry">True</property>
<property name="has-entry">1</property>
<items>
<item id="one">One</item>
<item id="two">Two</item>

View File

@ -1,63 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">0.5</property>
<property name="upper">99.5</property>
<property name="page-size">0</property>
<property name="value">45.5</property>
<property name="step-increment">0.5</property>
<property name="page-increment">5.0</property>
</object>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkBox" id="box1">
<child>
<object class="GtkLabel" id="label1">
<property name="label">_entry:</property>
<property name="visible">True</property>
<property name="use-underline">True</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">entry1</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="label">_password entry:</property>
<property name="visible">True</property>
<property name="use-underline">True</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">entry2</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="label">_spinbutton:</property>
<property name="visible">True</property>
<property name="use-underline">True</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">spinbutton1</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry1">
<property name="text" translatable="yes">text</property>
<property name="visible">True</property>
<property name="progress-fraction">0.3</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry2">
<property name="text" translatable="yes">password text</property>
<property name="visible">True</property>
<property name="visibility">False</property>
<property name="invisible_char">*</property>
<property name="invisible_char_set">True</property>
<property name="visibility">0</property>
<property name="invisible_char_set">1</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry3">
<property name="text" translatable="yes">icons</property>
<property name="visible">True</property>
<property name="primary-icon-name">edit-copy</property>
<property name="secondary-icon-name">edit-paste</property>
</object>
@ -65,7 +55,6 @@
<child>
<object class="GtkSpinButton" id="spinbutton1">
<property name="adjustment">adjustment1</property>
<property name="visible">True</property>
</object>
</child>
</object>

View File

@ -1,22 +1,16 @@
<?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="GtkExpander">
<property name="visible">True</property>
<child type="label">
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
</object>
<object class="GtkBox"/>
</child>
</object>
</child>

View File

@ -1,22 +1,16 @@
<?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="GtkExpander">
<property name="visible">True</property>
<child type="label">
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
</object>
<object class="GtkBox"/>
</child>
</object>
</child>

View File

@ -1,42 +1,33 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="value">0.5</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="inverted">True</property>
<property name="inverted">1</property>
<property name="value">0.5</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="value">0.2</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="value">0.8</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="min-value">0</property>
<property name="max-value">10</property>
<property name="value">5</property>
<property name="mode">discrete</property>
@ -49,8 +40,6 @@
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="min-value">0</property>
<property name="max-value">10</property>
<property name="value">2</property>
<property name="mode">discrete</property>
@ -63,8 +52,6 @@
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="min-value">0</property>
<property name="max-value">10</property>
<property name="value">8</property>
<property name="mode">discrete</property>

View File

@ -1,42 +1,33 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="value">0.5</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="inverted">True</property>
<property name="inverted">1</property>
<property name="value">0.5</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="value">0.2</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="value">0.8</property>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="min-value">0</property>
<property name="max-value">10</property>
<property name="value">5</property>
<property name="mode">discrete</property>
@ -49,8 +40,6 @@
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="min-value">0</property>
<property name="max-value">10</property>
<property name="value">2</property>
<property name="mode">discrete</property>
@ -63,8 +52,6 @@
</child>
<child>
<object class="GtkLevelBar">
<property name="visible">True</property>
<property name="min-value">0</property>
<property name="max-value">10</property>
<property name="value">8</property>
<property name="mode">discrete</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<child>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="type">popup</property>

View File

@ -1,44 +1,35 @@
<?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="GtkBox">
<property name="visible">True</property>
<property name="name">progressbars</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkProgressBar">
<property name="visible">True</property>
<property name="show-text">True</property>
<property name="fraction">0</property>
<property name="show-text">1</property>
</object>
</child>
<child>
<object class="GtkProgressBar">
<property name="visible">True</property>
<property name="fraction">1</property>
</object>
</child>
<child>
<object class="GtkProgressBar">
<property name="visible">True</property>
<property name="show-text">True</property>
<property name="show-text">1</property>
<property name="fraction">0.4</property>
</object>
</child>
<child>
<object class="GtkProgressBar">
<property name="visible">True</property>
<property name="inverted">True</property>
<property name="inverted">1</property>
<property name="fraction">0.4</property>
</object>
</child>
<child>
<object class="GtkProgressBar">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="fraction">0.4</property>
</object>