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



On Sat, 2007-07-21 at 15:00 +0200, Frederic Back wrote:
> 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.

No, since the destructor is called after all the documents have been
closed.

Ciao,
Paolo

> 
> 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 
> 
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list




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