On 17 June 2010 01:30, Dimitar Zhekov dimitar.zhekov@gmail.com wrote:
On Wed, 16 Jun 2010 08:19:44 +1000 Lex Trotman elextr@gmail.com wrote:
On 16 June 2010 04:12, Dimitar Zhekov dimitar.zhekov@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@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel