[dconf-editor] Improve a bit the behaviour of Ctrl-F.



commit 6463caf43ddbc35181517299901f81d07ae3a89c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Sep 13 21:01:13 2018 +0200

    Improve a bit the behaviour of Ctrl-F.

 editor/dconf-window.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index 5f07953..db06998 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -947,6 +947,8 @@ private class DConfWindow : ApplicationWindow
                         request_search (true, PathEntry.SearchMode.SEARCH);
                     else if (!path_widget.entry_has_focus)
                         path_widget.entry_grab_focus ();
+                    else if (path_widget.text.has_prefix ("/"))
+                        request_search (true, PathEntry.SearchMode.SEARCH);
                     else
                         stop_search ();
                     return true;


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