I would have tried to do it differently with a checkbox to ask whether to remember the choice, but your version seems reasonable and easy to implement. I'll have to try it for real, but it looks nice.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/672#issuecomment-145170778