[meld] accelerators: Add F3 and Shift+F3 find accelerators



commit ce4abb01e50dcb008e10e957ca23f37dd2101627
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Jul 19 09:59:24 2020 +1000

    accelerators: Add F3 and Shift+F3 find accelerators
    
    While these aren't GNOME-standard accelerators, these are common across
    multiple other editors, and supporting them will be a small pleasantry
    for many users.

 meld/accelerators.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/accelerators.py b/meld/accelerators.py
index e1b26c3b..ad116e06 100644
--- a/meld/accelerators.py
+++ b/meld/accelerators.py
@@ -6,8 +6,8 @@ from gi.repository import Gtk
 VIEW_ACCELERATORS: Dict[str, Union[str, Sequence[str]]] = {
     'app.quit': '<Primary>Q',
     'view.find': '<Primary>F',
-    'view.find-next': '<Primary>G',
-    'view.find-previous': '<Primary><Shift>G',
+    'view.find-next': ('<Primary>G', 'F3'),
+    'view.find-previous': ('<Primary><Shift>G', '<Shift>F3'),
     'view.find-replace': '<Primary>H',
     'view.go-to-line': '<Primary>I',
     # Overridden in CSS


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