This both reduces the amount of code (by more than ⅔!), and tries to move towards a state where new contributors don't feel like using manual keyfile read/write is the way to go (experience has shown the load_dialog_prefs() has a way of going unnoticed -- but @elextr will come up with a nice way of documenting this 😉).

In theory it also reduce the possibility for typos leading to settings not being saved/loaded properly (i.e. if the setting name/group doesn't match), but as it's currently working it mostly allows for mistakes in the diff of this PR 😄
Though, I should have done that carefully enough to not risk too much. But review is of course a good idea (hint hint).


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1184

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.