[gnome-software: 11/18] gs-shell: Add separator between main content and sidebar




commit 3311915c90aacb83d39d784288933f29c67f803f
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Jan 28 20:58:05 2021 +0000

    gs-shell: Add separator between main content and sidebar
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1111

 src/gs-shell.ui | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index f3bd92ab5..3c42469ce 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -557,6 +557,17 @@
                   </object>
                 </child>
 
+                <child>
+                  <object class="GtkSeparator">
+                    <property name="visible" bind-source="sidebar_switcher" bind-property="visible" 
bind-flags="sync-create" />
+                    <property name="can-focus">False</property>
+                    <property name="orientation">horizontal</property>
+                    <style>
+                      <class name="sidebar"/>
+                    </style>
+                  </object>
+                </child>
+
                 <child>
                   <object class="HdyViewSwitcher" id="sidebar_switcher">
                     <property name="visible" bind-source="header_leaflet" bind-property="folded" 
bind-flags="sync-create"/>


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