[gnome-control-center] cc-window: Enable leaflet navigation



commit 494f8a0f145f0640af8fb201f63cf049d6963580
Author: Christopher Davis <christopherdavis gnome org>
Date:   Mon Jan 3 16:25:25 2022 -0800

    cc-window: Enable leaflet navigation
    
    This enables touchpad/touchscreen gestures, alt+arrows,
    and mouse buttons.

 shell/cc-window.ui | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/shell/cc-window.ui b/shell/cc-window.ui
index 052b149e6..dc30f54ae 100644
--- a/shell/cc-window.ui
+++ b/shell/cc-window.ui
@@ -6,7 +6,7 @@
     <property name="default-height">640</property>
     <child>
       <object class="AdwLeaflet" id="main_leaflet">
-        <property name="transition-type">slide</property>
+        <property name="can-navigate-back">True</property>
         <signal name="notify::folded" handler="on_main_leaflet_folded_changed_cb" object="CcWindow" 
swapped="yes" />
 
         <child>
@@ -102,12 +102,16 @@
         </child>
 
         <child>
-          <object class="GtkSeparator" id="panel_separator">
-            <property name="visible">True</property>
-            <property name="orientation">vertical</property>
-            <style>
-              <class name="sidebar"/>
-            </style>
+          <object class="AdwLeafletPage">
+            <property name="navigatable">False</property>
+            <property name="child">
+              <object class="GtkSeparator" id="panel_separator">
+                <property name="orientation">vertical</property>
+                <style>
+                  <class name="sidebar"/>
+                </style>
+              </object>
+            </property>
           </object>
         </child>
 


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