[dconf-editor] Disable some keyboard shortcuts during search.
- From: Arnaud Bonatti <arnaudb src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [dconf-editor] Disable some keyboard shortcuts during search.
 
- Date: Fri, 16 Feb 2018 13:14:55 +0000 (UTC)
 
commit 185361ee2b37d1a0d92af2dd152c114bf8a4a514
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Feb 16 14:10:17 2018 +0100
    Disable some keyboard shortcuts during search.
 editor/dconf-window.vala |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index 060ad66..a7ba330 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -917,6 +917,9 @@ class DConfWindow : ApplicationWindow
 
     private void go_backward (bool shift)
     {
+        if (search_bar.search_mode_enabled)
+            return;
+
         browser_view.discard_row_popover ();
         if (current_path == "/")
             return;
@@ -927,6 +930,9 @@ class DConfWindow : ApplicationWindow
     }
     private void go_forward (bool shift)
     {
+        if (search_bar.search_mode_enabled)
+            return;
+
         string complete_path = pathbar.complete_path;
 
         browser_view.discard_row_popover ();
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]