summaryrefslogtreecommitdiff
path: root/examples/application7
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2018-05-07 22:12:09 +0530
committerMohammed Sadiq <sadiq@sadiqpk.org>2018-05-07 22:30:40 +0530
commit772c994fd08d02bd0eaab5e8adab0b14578a8a4b (patch)
treee46e1acfb60f318317f72a57cbca3bd0d41dc0c8 /examples/application7
parentc5976fed9a570ee9b3e39d873f609fa200334eb6 (diff)
downloadgtk+-772c994fd08d02bd0eaab5e8adab0b14578a8a4b.tar.gz
examples: Simplify .ui files
Run gtk4-builder-tool recursively
Diffstat (limited to 'examples/application7')
-rw-r--r--examples/application7/prefs.ui9
-rw-r--r--examples/application7/window.ui10
2 files changed, 3 insertions, 16 deletions
diff --git a/examples/application7/prefs.ui b/examples/application7/prefs.ui
index 95e1cb8069..e4796b92bb 100644
--- a/examples/application7/prefs.ui
+++ b/examples/application7/prefs.ui
@@ -9,15 +9,13 @@
<object class="GtkBox" id="vbox">
<child>
<object class="GtkGrid" id="grid">
- <property name="visible">True</property>
<property name="margin">6</property>
<property name="row-spacing">12</property>
<property name="column-spacing">6</property>
<child>
<object class="GtkLabel" id="fontlabel">
- <property name="visible">True</property>
<property name="label">_Font:</property>
- <property name="use-underline">True</property>
+ <property name="use-underline">1</property>
<property name="mnemonic-widget">font</property>
<property name="xalign">1</property>
</object>
@@ -28,7 +26,6 @@
</child>
<child>
<object class="GtkFontButton" id="font">
- <property name="visible">True</property>
</object>
<packing>
<property name="left-attach">1</property>
@@ -37,9 +34,8 @@
</child>
<child>
<object class="GtkLabel" id="transitionlabel">
- <property name="visible">True</property>
<property name="label">_Transition:</property>
- <property name="use-underline">True</property>
+ <property name="use-underline">1</property>
<property name="mnemonic-widget">transition</property>
<property name="xalign">1</property>
</object>
@@ -50,7 +46,6 @@
</child>
<child>
<object class="GtkComboBoxText" id="transition">
- <property name="visible">True</property>
<items>
<item translatable="yes" id="none">None</item>
<item translatable="yes" id="crossfade">Fade</item>
diff --git a/examples/application7/window.ui b/examples/application7/window.ui
index d500409755..90aa1844a6 100644
--- a/examples/application7/window.ui
+++ b/examples/application7/window.ui
@@ -7,27 +7,22 @@
<property name="default-height">400</property>
<child>
<object class="GtkBox" id="content_box">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkHeaderBar" id="header">
- <property name="visible">True</property>
<child type="title">
<object class="GtkStackSwitcher" id="tabs">
- <property name="visible">True</property>
<property name="stack">stack</property>
</object>
</child>
<child>
<object class="GtkToggleButton" id="search">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
+ <property name="sensitive">0</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="search-icon">
- <property name="visible">True</property>
<property name="icon-name">edit-find-symbolic</property>
</object>
</child>
@@ -40,11 +35,9 @@
</child>
<child>
<object class="GtkSearchBar" id="searchbar">
- <property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="searchentry">
<signal name="search-changed" handler="search_text_changed"/>
- <property name="visible">True</property>
</object>
</child>
</object>
@@ -52,7 +45,6 @@
<child>
<object class="GtkStack" id="stack">
<signal name="notify::visible-child" handler="visible_child_changed"/>
- <property name="visible">True</property>
</object>
</child>
</object>