From 644e4f3a14ed5bbefdb9655d269630967cb20b40 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 27 Mar 2024 15:20:02 +0900 Subject: [PATCH] Don't pop pages on escape (#307) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Danielle Foré --- src/Application.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Application.vala b/src/Application.vala index c99589f4..ed1e7aaf 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -131,7 +131,9 @@ namespace Switchboard { category_view = new Switchboard.CategoryView (plug_to_open); - navigation_view = new Adw.NavigationView (); + navigation_view = new Adw.NavigationView () { + pop_on_escape = false + }; navigation_view.add (category_view); main_window = new Gtk.Window () {