[gedit-list] Document signals and close gedit signal



Hi all,

I'm trying to develop a feature like sessionsaver plugin but I want save the open documents automatically when a new document is open/closed or before gedit is closed.

I'm using tab-added and tab-removed signals but tab-removed is raised when I close gedit (because gedit is closing all the tabs) and then my handler removes all the cached files. I've tried to use the destroy signal but it is raised after all the tab-removed event...

Can you help me to find the right way? The idea is store the open documents before gedit is closed or save the state when the user open or close documents.

Thanks a lot!!!


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