On Sun, 8 May 2011 22:00:26 +1000 Lex Trotman elextr@gmail.com wrote:
So edit prefs while a project is open will overwrite the default configuration file list, lets test it, yep, edit preferences with a project open and bingo!
So configuration_save needs a parameter to tell it to only save the preferences, not the session files.
It was discussed several months ago. IIRC, the right thing was to public save_dialog_prefs() as void save_dialog_prefs(void) and call it on Edit -> Prefs -> OK, but not from configuration_save(). This way, you always have the last Edit -> Prefs -> OK set of preferences, instead of the "whatever Geany was exited last" prefs. Should be checked, though, if any dialog pref can be changed outside the Prefs dialog - by a keybinding, menu option etc.