diff options
author | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-07 22:12:09 +0530 |
---|---|---|
committer | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-07 22:30:40 +0530 |
commit | 772c994fd08d02bd0eaab5e8adab0b14578a8a4b (patch) | |
tree | e46e1acfb60f318317f72a57cbca3bd0d41dc0c8 /examples/application6 | |
parent | c5976fed9a570ee9b3e39d873f609fa200334eb6 (diff) | |
download | gtk+-772c994fd08d02bd0eaab5e8adab0b14578a8a4b.tar.gz |
examples: Simplify .ui files
Run gtk4-builder-tool recursively
Diffstat (limited to 'examples/application6')
-rw-r--r-- | examples/application6/prefs.ui | 9 | ||||
-rw-r--r-- | examples/application6/window.ui | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/examples/application6/prefs.ui b/examples/application6/prefs.ui index 95e1cb8069..e4796b92bb 100644 --- a/examples/application6/prefs.ui +++ b/examples/application6/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/application6/window.ui b/examples/application6/window.ui index d90c3f618c..03fe6d1e05 100644 --- a/examples/application6/window.ui +++ b/examples/application6/window.ui @@ -7,14 +7,11 @@ <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> @@ -22,7 +19,6 @@ </child> <child> <object class="GtkStack" id="stack"> - <property name="visible">True</property> </object> </child> </object> |