[gnome-software: 1/2] shell: Allow swiping back




commit 12526f9af34c8740869b137ac3abf2f44dd2cc14
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Mar 11 08:49:34 2022 +0100

    shell: Allow swiping back
    
    This makes the app more comfortable to use and more consistent with the
    rest of GNOME.

 src/gs-shell.ui | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index c1715e5b8..4a990e158 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -155,6 +155,7 @@
                 </child>
                 <child>
                   <object class="AdwLeaflet" id="details_leaflet">
+                    <property name="can-navigate-back">True</property>
                     <property name="can-unfold">False</property>
                     <signal name="notify::visible-child" handler="stack_notify_visible_child_cb"/>
 
@@ -164,6 +165,7 @@
                         <property name="name">main</property>
                         <property name="child">
                           <object class="AdwLeaflet" id="main_leaflet">
+                            <property name="can-navigate-back">True</property>
                             <property name="can-unfold">False</property>
                             <signal name="notify::visible-child" handler="stack_notify_visible_child_cb"/>
 


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