Ciao Chuchi,
the alternative is t to track every window and tab added and
removed so that you know the current state at any time and then save
them at exit.
Paolo
On Fri, Apr 26, 2013 at 8:16 AM, Ignacio Casal Quinteiro
<nacho resa gmail com> wrote:
> Hey,
>
> I think that you will indeed need to modify gedit to give you this
> information as afaik you do not have it yet.
> Would be indeed good to have something like this.
>
> Regards.
>
>
> On Fri, Apr 26, 2013 at 12:26 AM, Chuchi Perriman <chuchiperriman gmail com>
> wrote:
>>
>> 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!!!
>>
>> _______________________________________________
>> gedit-list mailing list
>> gedit-list gnome org
>> https://mail.gnome.org/mailman/listinfo/gedit-list
>>
>
>
>
> --
> Ignacio Casal Quinteiro
>
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> https://mail.gnome.org/mailman/listinfo/gedit-list
>
_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list
AVISO LEGAL: Este mensaje contiene información destinada exclusivamente al usuario de destino, pudiendo contener información confidencial o protegida legalmente. Si, por un error de envío o transmisión, ha recibido este mensaje y usted no es el destinatario del mismo, por favor, notifique de este hecho al remitente y no use, informe, distribuya, imprima, copie o difunda este mensaje bajo ningœn medio . Cualquier opinión en él contenida, es exclusiva de su autor y no representa necesariamente la opinión de Quiter Servicios Informáticos, S.L.