[Geany-Devel] Fix next/previous message keys to work without docs

Dimitar Zhekov dimitar.zhekov at xxxxx
Mon Oct 14 18:02:24 UTC 2013


Some time ago, during the discussion for focusing the "last active"
widget when the last document is closed, I found that invoking Search
Next/Previous Message via keybinding will not work if there are no open
documents. As it turns out, cb_func_search_action() checks for an open
document, and lets only Search FiF if there isn't any. Here is a fix.
It not very pretty, with multiply return-s, it would be nicer to place
the doc-related code and keys in a default: case of the new switch.

E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-previous-next-message-keys-to-work-without-docs.patch
Type: text/x-diff
Size: 1129 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20131014/755902aa/attachment.patch>

More information about the Devel mailing list