diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-06-09 03:14:47 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-06-09 03:14:47 +0200 |
commit | 0288f7436406af694d56b5656c4a8a92b860f82b (patch) | |
tree | 678f0a4d7d69124f32a825ad523812921794b208 | |
parent | 85785bafa68127f77c0bcaf4a0b4dd3e03234c07 (diff) |
search: Don't focus navigation button on click
This way, the search_entry itself is not unfocused and key combinations like ctrl+g and ctrl+shift+g, which cycle through matched strings, continue to work.
-rw-r--r-- | saneterm/search.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/saneterm/search.py b/saneterm/search.py index 9b840ab..52ea04e 100644 --- a/saneterm/search.py +++ b/saneterm/search.py @@ -44,6 +44,7 @@ class SearchBar(Gtk.SearchBar): for dir in ["up", "down"]: button = Gtk.Button.new_from_icon_name(F"go-{dir}-symbolic", Gtk.IconSize.MENU) button.set_sensitive(False) + button.set_focus_on_click(False) button.connect("clicked", button_callback, dir) box.add(button) |