preferences-window: cancel search from keyboard
Fixes: #206 (closed)
Implemented a way to cancel the search.
Connected a custom private callback function toggle_search_state
with the stop-search
signal of GtkSearchEntry.
Might need some modifications in the implementation to fit the standards. :-)
Also, the code inside key_pressed
(here) might need some cleanup as it is never reached.