[gtk/matthiasc/for-master: 18/25] testsuite: Test GtkToolbar rewriting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 18/25] testsuite: Test GtkToolbar rewriting
- Date: Mon, 2 Nov 2020 03:30:55 +0000 (UTC)
commit c3f8010b1954664cfc7ff9f0ac44a533bee17490
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 1 10:37:58 2020 -0500
testsuite: Test GtkToolbar rewriting
.../tools/simplify-data-3to4/toolbar.expected | 24 +++++++++++++++++++
testsuite/tools/simplify-data-3to4/toolbar.ui | 27 ++++++++++++++++++++++
2 files changed, 51 insertions(+)
---
diff --git a/testsuite/tools/simplify-data-3to4/toolbar.expected
b/testsuite/tools/simplify-data-3to4/toolbar.expected
new file mode 100644
index 0000000000..fa090a9284
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/toolbar.expected
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkBox">
+ <style>
+ <class name="toolbar"/>
+ </style>
+ <child>
+ <object class="GtkButton">
+ <property name="label" translatable="yes">New</property>
+ <property name="icon-name">document-new</property>
+ <property name="tooltip-text" translatable="yes">Create a new document</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparator">
+ <property name="orientation">vertical</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleButton"/>
+ </child>
+ </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/toolbar.ui b/testsuite/tools/simplify-data-3to4/toolbar.ui
new file mode 100644
index 0000000000..3f45466024
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/toolbar.ui
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkToolbar">
+ <property name="visible">1</property>
+ <child>
+ <object class="GtkToolButton">
+ <property name="visible">1</property>
+ <property name="label" translatable="yes">New</property>
+ <property name="icon-name">document-new</property>
+ <property name="tooltip-text" translatable="yes">Create a new document</property>
+ </object>
+ <packing>
+ <property name="homogeneous">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSeparatorToolItem">
+ <property name="visible">1</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleToolButton">
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]