[gnome-characters: 1/2] window: Show the close button on the sidebar




commit c4ccb03f2092bdd70e01c28188941ba341f440b3
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Mar 25 10:26:26 2021 +0100

    window: Show the close button on the sidebar
    
    This allows showing the close button on the sidebar when the window is
    folded, but not when it's not.

 data/mainwindow.ui | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/data/mainwindow.ui b/data/mainwindow.ui
index cc3053e..4783c07 100644
--- a/data/mainwindow.ui
+++ b/data/mainwindow.ui
@@ -29,6 +29,7 @@
             <child>
               <object class="HdyHeaderBar" id="sidebar-headerbar">
                 <property name="visible">True</property>
+                <property name="show-close-button">True</property>
                 <property name="title" translatable="yes">Characters</property>
                 <child>
                   <object class="GtkToggleButton" id="search-active-button">
@@ -180,6 +181,7 @@
     </widgets>
   </object>
   <object class="HdyHeaderGroup">
+    <property name="decorate-all" bind-source="leaflet" bind-property="folded" bind-flags="sync-create"/>
     <headerbars>
       <headerbar name="sidebar-headerbar"/>
       <headerbar name="main-headerbar"/>


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