Re: [gedit-list] method called on gedit exit



I don't think that you need to change gedit's code to do this. Just
place your code in the plugins destructor, then it will be called when
gedit closes.

Cheers,
Fred


On Fri, 2007-07-20 at 16:36 -0300, Lucas Stephanou wrote:
> Finally I'll start code this :-)
> 
> Well, I was study the code and confuse with some things.
> I need to emit a signal when gedit is to close. But where.
> 
> gedit-app.c is right place?
> 
> I think that gedit-commands-file.c is the only part of gedit can now
> to do this.
> 
> remember that this should be received  by plugins, then I can write a
> plugin that save what files was opened is last gedit run!
> 
> thx in advance.
> 
> I'm learning every day! Gedit Rocks 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]