summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-01-03 16:25:25 -0800
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-01-07 13:43:50 +0000
commit494f8a0f145f0640af8fb201f63cf049d6963580 (patch)
tree345f3a6eebd4062311fe4fec5231b70aed758a09 /shell
parent6691ba9b76cdbf6567a97aa9901fa5c792895a6e (diff)
cc-window: Enable leaflet navigation
This enables touchpad/touchscreen gestures, alt+arrows, and mouse buttons.
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-window.ui18
1 files 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>