[Geany-devel] Multiple instances of Geany issues

Dimitar Zhekov dimitar.zhekov at xxxxx
Wed Jun 16 15:30:17 UTC 2010


On Wed, 16 Jun 2010 08:19:44 +1000
Lex Trotman <elextr at gmail.com> wrote:

> On 16 June 2010 04:12, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> >
> > Hmmm... Now that I think of it, how is a plugin supposed to save it's
> > settings in a project file when closing a project
> 
> connect to the "project-save" signal, the user_data is the g_key_file
> of the config file. [...]

That's the point: project_close() calls write_config() with
emit_signal = FALSE. So there is no "project-save" when closing a
project, only on create project and Project -> Properties -> OK.

-- 
E-gards: Jimmy



More information about the Devel mailing list