[gnome-software: 5/10] shell: Remove the now unused leaflets




commit 1941171d19e1fc408ec76fce5c106683266d909b
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon Jun 21 08:40:28 2021 +0200

    shell: Remove the now unused leaflets
    
    This purposefully leaves the indentation broken to ease review, it will
    be fixed in a later commit.

 src/gs-shell.ui | 33 ++-------------------------------
 1 file changed, 2 insertions(+), 31 deletions(-)
---
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index ae6fbc030..e72db9d72 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -42,15 +42,6 @@
                 <child>
                   <object class="HdyDeck" id="header_deck">
                     <property name="visible">True</property>
-                    <child>
-                      <object class="HdyLeaflet" id="header_leaflet">
-                        <property name="visible">True</property>
-                        <property name="can-focus">False</property>
-                        <property name="orientation">horizontal</property>
-                        <property name="visible-child">main_header</property>
-                        <property name="mode-transition-duration" bind-source="main_leaflet" 
bind-property="mode-transition-duration" bind-flags="bidirectional|sync-create"/>
-                        <property name="child-transition-duration" bind-source="main_leaflet" 
bind-property="child-transition-duration" bind-flags="bidirectional|sync-create"/>
-                        <property name="transition-type" bind-source="main_leaflet" 
bind-property="transition-type" bind-flags="bidirectional|sync-create"/>
                         <child>
                           <object class="HdyHeaderBar" id="main_header">
                             <property name="visible">True</property>
@@ -60,7 +51,7 @@
                             <property name="centering-policy">strict</property>
                             <child>
                               <object class="GtkToggleButton" id="search_button_main">
-                                <property name="visible" bind-source="main_leaflet" bind-property="folded" 
bind-flags="sync-create"/>
+                                <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="active" bind-source="search_bar" 
bind-property="search-mode-enabled" bind-flags="sync-create|bidirectional" />
                                 <signal name="clicked" handler="search_button_clicked_cb"/>
@@ -89,7 +80,7 @@
                             </child>
                             <child>
                               <object class="GtkMenuButton" id="menu_button_main">
-                                <property name="visible" bind-source="main_leaflet" bind-property="folded" 
bind-flags="sync-create"/>
+                                <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="sensitive">True</property>
                                 <property name="menu_model">primary_menu</property>
@@ -122,8 +113,6 @@
                             </child>
                           </object>
                         </child>
-                      </object>
-                    </child>
                     <child>
                       <object class="HdyHeaderBar" id="sub_header">
                         <property name="visible">True</property>
@@ -327,13 +316,6 @@
                           <object class="GtkBox">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
-                            <child>
-                              <object class="HdyLeaflet" id="main_leaflet">
-                                <property name="visible">True</property>
-                                <property name="can-focus">False</property>
-                                <property name="visible-child">main_box</property>
-                                <property name="transition-type">slide</property>
-                                <signal name="notify::folded" handler="main_leaflet_notify_folded_cb"/>
                                 <child>
                                   <object class="GtkBox" id="main_box">
                                     <property name="visible">True</property>
@@ -465,9 +447,6 @@
                                     </child>
                                   </object>
                                 </child>
-
-                              </object>
-                            </child>
                             <child>
                               <object class="HdyViewSwitcherBar" id="sidebar_switcher">
                                 <property name="visible">True</property>
@@ -581,12 +560,4 @@
       <swipeable name="details_deck"/>
     </swipeables>
   </object>
-
-  <object class="HdyHeaderGroup">
-    <property name="decorate-all" bind-source="main_leaflet" bind-property="folded" 
bind-flags="sync-create"/>
-    <headerbars>
-      <headerbar name="sidebar_header"/>
-      <headerbar name="main_header"/>
-    </headerbars>
-  </object>
 </interface>


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