[Geany-devel] Separating session file lists from config (again)
elextr at xxxxx
Thu Oct 4 00:51:29 UTC 2012
On 4 October 2012 03:06, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> On Tue, 2 Oct 2012 13:03:00 +1000
> Lex Trotman <elextr at gmail.com> wrote:
> > Are all settings saved on apply? not just the prefs/project prefs ones?
> > thought there were some that still didn't for one reason or another,
> > that should be changed as a separate thing anyway, in which case you are
> > right, the "rush" only applies to session data.
> Edit -> Preferences -> OK|Apply saves the entire geany.conf:
> dialog preferences, UI settings and file list.
> Project -> Properties -> OK saves the entire $project.conf: project
> settings and file list.
> File -> Quit does both.
AFAICT build->set build commands->ok does neither, it assumes save at the
end, thats the problem, and why the save on quit is still needed and why
failing to save on shutdown is a breakage.
The build one is the one I know, my question is then what other dialogs or
menu items etc change settings but fail to cause a save because they still
assume save on exit?
> Saving dialog preferences and project settings on Quit does not make
> real sense, but it's the same file, so there is no reason to separate
> them. Yet they are internally separate (static) functions, see
> keyfile.c:configuration_save() and project.c:write_config().
Not sure what you mean by "its the same file", its not the same file and
doesn't have the same contents?
> No interest in having 2+ sessions for a project?..
> E-gards: Jimmy
> Geany-devel mailing list
> Geany-devel at uvena.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel