On Mon, 20 Feb 2012 22:40:50 +0100 Jiří Techet <[email protected]> wrote:
> On Mon, Feb 20, 2012 at 17:51, Dimitar Zhekov <[email protected]> > wrote: > > > Since you are changing the project signals anyway, can you do me a > > favor and add an unconditional "project-before-save" signal in > > write_config, with the same arguments as "project-save"? > > > > Currently we have document-before-save, and save-settings is before > > configuration saving (though that's not very helpful), but there's > > no "before" signal for the projects settings, and I need one for a > > plugin of mine. > > Hi Dimitar, > > what do you need the signal for? The project-save signal is actually > emitted before g_key_file_to_data() is called so it is called before > it's saved. I use this signal in my plugin too to add my own settings > to the project file. To (a) temporarily revert some file settings before a possible save- session-files and (b) ignore emit_signal, since session save does not depend on it. -- E-gards: Jimmy _______________________________________________ Geany-devel mailing list [email protected] https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
