[Geany-devel] Multiple instances of Geany issues

Lex Trotman elextr at xxxxx
Tue Jun 15 22:19:44 UTC 2010


On 16 June 2010 04:12, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> On Mon, 14 Jun 2010 08:46:42 +0400
> Eugene Arshinov <earshinov at gmail.com> wrote:
>
>> On Sat, 5 Jun 2010 12:10:01 +0300%
>> Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
>>
>> > Hi,
>> >
>> > > - Limit Project -> Properties to saving the preferences only, and
>> > > limit project_close() to saving the file list only.
>> >
>>
>> Here are some changes I made to your original patch:
>>
>> [...]
>>
>> * AFAIK in Geany doc-comments (/**) are used only for symbols exported
>>   for plugins.  I modified the comment before GeanySettingsTypes
>>   accordingly.
>
> 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.  So long as you use new groups you can save data
without interfering with existing contents ok.

Cheers
Lex

, and why does it
> receive a signal when the dialog settings are confirmed? The former
> question applies to the original Geany (and the latter is my overlook,
> unless I'm missing something and a plugin can somehow add elements in
> the project settings dialog).
>
> --
> 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