[gnome-calendar/gbsneto/recurring-event-editing-fixes: 18/24] window: Properly hide start headerbar buttons




commit cc696bc365cdfab9af1d32b5158301a8d227f00c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 14 14:20:24 2022 -0300

    window: Properly hide start headerbar buttons
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/859

 src/gui/gcal-window.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/gcal-window.ui b/src/gui/gcal-window.ui
index 0ef04001..8bdeb359 100644
--- a/src/gui/gcal-window.ui
+++ b/src/gui/gcal-window.ui
@@ -176,8 +176,8 @@
               <object class="GtkBox">
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GtkHeaderBar" id="header_bar">
-                    <property name="show-title-buttons">True</property>
+                  <object class="AdwHeaderBar" id="header_bar">
+                    <property name="show-start-title-buttons" bind-source="leaflet" bind-property="folded" 
bind-flags="sync-create"/>
                     <child>
                       <object class="GtkButton">
                         <property name="action-name">win.today</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]