[Geany-devel] Project close problem
Dimitar Zhekov
dimitar.zhekov at xxxxx
Sun May 8 12:38:02 UTC 2011
On Sun, 8 May 2011 22:00:26 +1000
Lex Trotman <elextr at 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.
--
E-gards: Jimmy
More information about the Devel
mailing list