summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-03-28 16:35:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-03-28 16:37:21 -0400
commit700183e5b61a3d63fa911aab5ebde2edf443ff64 (patch)
tree5597a021e70dbc851f1687d51ece2820981284f8 /tests
parent8d993160c24518af1c58798b7f5bc4568d394d4c (diff)
downloadgtk+-700183e5b61a3d63fa911aab5ebde2edf443ff64.tar.gz
Convert ui files
Run gtk4-builder-tool simplify --3to4 over all ui files.
Diffstat (limited to 'tests')
-rw-r--r--tests/visuals/osd-toolbars.ui68
1 files changed, 13 insertions, 55 deletions
diff --git a/tests/visuals/osd-toolbars.ui b/tests/visuals/osd-toolbars.ui
index ac8ae6242f..4211375234 100644
--- a/tests/visuals/osd-toolbars.ui
+++ b/tests/visuals/osd-toolbars.ui
@@ -1,43 +1,29 @@
-<?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="default_width">600</property>
<property name="default_height">600</property>
<child>
<object class="GtkOverlay" id="overlay1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<child>
- <object class="GtkDrawingArea" id="filler">
- <property name="visible">True</property>
- </object>
+ <object class="GtkDrawingArea" id="filler"/>
</child>
<child type="overlay">
<object class="GtkToolbar" id="bottom_toolbar">
- <property name="visible">True</property>
- <property name="show_arrow">False</property>
+ <property name="show_arrow">0</property>
<property name="halign">center</property>
<property name="valign">end</property>
<property name="margin_bottom">24</property>
<style>
- <class name="osd"/>
+ <class name="osd"/>
</style>
<child>
<object class="GtkToolItem" id="left_item">
- <property name="visible">True</property>
<child>
<object class="GtkBox" id="left_box">
- <property name="orientation">horizontal</property>
- <property name="spacing">0</property>
- <property name="visible">True</property>
<child>
<object class="GtkToggleButton" id="camera">
- <property name="visible">True</property>
<child>
<object class="GtkImage" id="camera_icon">
- <property name="visible">True</property>
<property name="icon_name">camera-web-symbolic</property>
</object>
</child>
@@ -45,11 +31,9 @@
</child>
<child>
<object class="GtkToggleButton" id="volume">
- <property name="visible">True</property>
- <property name="active">True</property>
+ <property name="active">1</property>
<child>
<object class="GtkImage" id="volume_icon">
- <property name="visible">True</property>
<property name="icon_name">audio-volume-medium-symbolic</property>
</object>
</child>
@@ -57,11 +41,9 @@
</child>
<child>
<object class="GtkToggleButton" id="microphone">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
+ <property name="sensitive">0</property>
<child>
<object class="GtkImage" id="microphone_icon">
- <property name="visible">True</property>
<property name="icon_name">audio-input-microphone-symbolic</property>
</object>
</child>
@@ -69,12 +51,10 @@
</child>
<child>
<object class="GtkToggleButton" id="bt">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="active">True</property>
+ <property name="sensitive">0</property>
+ <property name="active">1</property>
<child>
<object class="GtkImage" id="bt_icon">
- <property name="visible">True</property>
<property name="icon_name">bluetooth-active-symbolic</property>
</object>
</child>
@@ -86,19 +66,14 @@
</child>
<child>
<object class="GtkSeparatorToolItem" id="toolbutton2">
- <property name="draw">False</property>
- <property name="visible">True</property>
+ <property name="expand-item">True</property>
+ <property name="draw">0</property>
</object>
- <packing>
- <property name="expand">True</property>
- </packing>
</child>
<child>
<object class="GtkToolItem" id="toolitem4">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="status_label">
- <property name="visible">True</property>
<property name="label">OSD Toolbar</property>
<property name="margin_start">10</property>
<property name="margin_end">10</property>
@@ -108,18 +83,12 @@
</child>
<child>
<object class="GtkToolItem" id="right_item">
- <property name="visible">True</property>
<child>
<object class="GtkBox" id="right_box">
- <property name="orientation">horizontal</property>
- <property name="spacing">0</property>
- <property name="visible">True</property>
<child>
<object class="GtkToggleButton" id="opt">
- <property name="visible">True</property>
<child>
<object class="GtkImage" id="opt_icon">
- <property name="visible">True</property>
<property name="icon_name">media-optical-symbolic</property>
</object>
</child>
@@ -127,11 +96,9 @@
</child>
<child>
<object class="GtkToggleButton" id="hdd">
- <property name="visible">True</property>
- <property name="active">True</property>
+ <property name="active">1</property>
<child>
<object class="GtkImage" id="hdd_icon">
- <property name="visible">True</property>
<property name="icon_name">drive-harddisk-symbolic</property>
</object>
</child>
@@ -139,11 +106,9 @@
</child>
<child>
<object class="GtkToggleButton" id="joy">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
+ <property name="sensitive">0</property>
<child>
<object class="GtkImage" id="joy_icon">
- <property name="visible">True</property>
<property name="icon_name">input-gaming-symbolic</property>
</object>
</child>
@@ -157,44 +122,37 @@
</child>
<child type="overlay">
<object class="GtkToolbar" id="top_toolbar">
- <property name="visible">True</property>
- <property name="show_arrow">False</property>
+ <property name="show_arrow">0</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="margin_top">24</property>
<style>
- <class name="osd"/>
+ <class name="osd"/>
</style>
<child>
<object class="GtkToggleToolButton" id="tb1">
- <property name="visible">True</property>
<property name="icon_name">edit-undo-symbolic</property>
</object>
</child>
<child>
<object class="GtkToggleToolButton" id="tb2">
- <property name="visible">True</property>
<property name="icon_name">edit-redo-symbolic</property>
</object>
</child>
<child>
<object class="GtkToggleToolButton" id="tb3">
- <property name="visible">True</property>
<property name="icon_name">start-here-symbolic</property>
</object>
</child>
<child>
<object class="GtkToggleToolButton" id="tb4">
- <property name="visible">True</property>
<property name="icon_name">applications-science-symbolic</property>
</object>
</child>
<child>
<object class="GtkToolItem" id="tb5">
- <property name="visible">True</property>
<child>
<object class="GtkLabel" id="tb5_label">
- <property name="visible">True</property>
<property name="label">Another kind of OSD toolbar</property>
<property name="margin_start">10</property>
<property name="margin_end">10</property>