[Geany-devel] Multiple instances of Geany issues

Lex Trotman elextr at xxxxx
Wed Jun 16 21:51:32 UTC 2010


On 17 June 2010 01:30, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> 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.
>

Ahhh, I hadn't noticed that, maybe Nick or Enrico can explain the
reasoning behind that.

Cheers
lex

> --
> E-gards: Jimmy
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list