diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-25 20:14:58 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2020-07-02 23:51:16 +0500 |
commit | 7c3b30036eafecf84ac39e7e671cacd4283dcdbf (patch) | |
tree | 96e63fcfb5a0cb8e18aadda7a404f9bfd19ae075 /examples | |
parent | 988901294dffafdc80f8672e8a9a74cc5dcccf97 (diff) | |
download | gtk+-7c3b30036eafecf84ac39e7e671cacd4283dcdbf.tar.gz |
headerbar: Show title buttons by default
Most of the time show-title-buttons is set to TRUE. Go ahead and make that
the default.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/application3/window.ui | 1 | ||||
-rw-r--r-- | examples/application4/window.ui | 1 | ||||
-rw-r--r-- | examples/application5/window.ui | 1 | ||||
-rw-r--r-- | examples/application6/window.ui | 1 | ||||
-rw-r--r-- | examples/application7/window.ui | 1 | ||||
-rw-r--r-- | examples/application8/window.ui | 1 | ||||
-rw-r--r-- | examples/application9/window.ui | 1 | ||||
-rw-r--r-- | examples/sunny.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/examples/application3/window.ui b/examples/application3/window.ui index 5d2d5a4249..53c19f6d93 100644 --- a/examples/application3/window.ui +++ b/examples/application3/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child type="title"> <object class="GtkStackSwitcher" id="tabs"> <property name="stack">stack</property> diff --git a/examples/application4/window.ui b/examples/application4/window.ui index eee9127573..cc7f073789 100644 --- a/examples/application4/window.ui +++ b/examples/application4/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child type="title"> <object class="GtkStackSwitcher" id="tabs"> <property name="stack">stack</property> diff --git a/examples/application5/window.ui b/examples/application5/window.ui index eee9127573..cc7f073789 100644 --- a/examples/application5/window.ui +++ b/examples/application5/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child type="title"> <object class="GtkStackSwitcher" id="tabs"> <property name="stack">stack</property> diff --git a/examples/application6/window.ui b/examples/application6/window.ui index eee9127573..cc7f073789 100644 --- a/examples/application6/window.ui +++ b/examples/application6/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child type="title"> <object class="GtkStackSwitcher" id="tabs"> <property name="stack">stack</property> diff --git a/examples/application7/window.ui b/examples/application7/window.ui index d4280f6354..3a4afed22f 100644 --- a/examples/application7/window.ui +++ b/examples/application7/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child type="title"> <object class="GtkStackSwitcher" id="tabs"> <property name="stack">stack</property> diff --git a/examples/application8/window.ui b/examples/application8/window.ui index 165ebacbcb..9c9a80ae54 100644 --- a/examples/application8/window.ui +++ b/examples/application8/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child type="title"> <object class="GtkStackSwitcher" id="tabs"> <property name="stack">stack</property> diff --git a/examples/application9/window.ui b/examples/application9/window.ui index 29af168d26..b0f9932b03 100644 --- a/examples/application9/window.ui +++ b/examples/application9/window.ui @@ -6,7 +6,6 @@ <property name="default-height">400</property> <child type="titlebar"> <object class="GtkHeaderBar" id="header"> - <property name="show-title-buttons">1</property> <child> <object class="GtkLabel" id="lines_label"> <property name="visible">0</property> diff --git a/examples/sunny.c b/examples/sunny.c index 5d40018217..2a22757e89 100644 --- a/examples/sunny.c +++ b/examples/sunny.c @@ -15,7 +15,6 @@ new_window (GApplication *app, gtk_window_set_icon_name (GTK_WINDOW (window), "sunny"); header = gtk_header_bar_new (); - gtk_header_bar_set_show_title_buttons (GTK_HEADER_BAR (header), TRUE); gtk_window_set_titlebar (GTK_WINDOW (window), header); overlay = gtk_overlay_new (); |