Re: auto-reload the file (pdf)



Le vendredi 06 janvier 2006 à 22:45 +0300, Nickolay V. Shmyrev a écrit :
> В Птн, 06/01/2006 в 20:27 +0100, Xavier Claessens пишет:
> > Hi,
> > 
> > There is an option to ask evince to reload the file (Ctr+R). Is it
> > possible to do that automatically using fam (gamin) to see when the file
> > is altered ?
> > 
> > If you think it's a good feature to add I'll try to implement it after
> > my exams :-)
> > 
> > Any comments ?
> > 
> > Xavier Claessens.
> 
> Well, it's not so easy, first of all, you can't just monitor document
> changes, since you should wait until document will be updated
> completely.
> 
> And there is quite big discussion about that problem:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=304249
> 
> If you just want to hack on evince, just ask, we'll be happy to find a
> problem suitable for you.
> 

Ok, stupid me, I should read bugzilla before asking :D

It is not possible to have a callback when the writing is finished ?
When there is a write() on the file, wait for the close() and then only
notify that the file is changed... but that's not an evince problem,
more a kernel/fam one.

Xavier Claessens.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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