Re: write_file() called when changing Activity name

2008-04-17 Thread Urko Fernandez
Thanks, I've used the 'destroy' signal in my activity class: self.connect('destroy', self.__delete_event_cb) Urko On Thu, 2008-04-17 at 18:49 +0200, Tomeu Vizoso wrote: > > You may add a callback that will be executed just before the activity > window will be closed: > http://www.pygtk.org/pyg

Re: write_file() called when changing Activity name

2008-04-17 Thread Tomeu Vizoso
On Thu, Apr 17, 2008 at 6:27 PM, Urko Fernandez <[EMAIL PROTECTED]> wrote: > Is there a way to know whether the write_file() method is called while > changing the name of the activity or when closing the activity? > I want to delete a file created in the instance folder after closing the > activ

write_file() called when changing Activity name

2008-04-17 Thread Urko Fernandez
Is there a way to know whether the write_file() method is called while changing the name of the activity or when closing the activity? I want to delete a file created in the instance folder after closing the activity. I know files in the instance folder are to be deleted automatically, but on suga