Re: document reload via dbus



El mar, 05-08-2008 a las 13:12 +1000, Russell Kliese escribió:
> Hi,
> 
> I'd like to make evince automatically reload when I make updates to a 
> PDF document.

Note that evince already reloads automatically when the document changes
since  version 2.23.4.


> There has been some previous discussion on this 
> (http://bugzilla.gnome.org/show_bug.cgi?id=304249) and I thought the 
> best way of achieving what I want is to send a D-bus message to evince 
> to tell it to reload the document after the document has been updated.
> 
> I was looking at using a command along the lines of the following:
> 
> dbus-send --session --dest=org.gnome.evince.ApplicationService 
> /org/gnome/evince/Evince org.gnome.evince.Application.ReloadDocument
> 
> The problem is, it doesn't appear that there is a D-bus function to 
> reload the document (the only functions I can find are listed in the 
> following file: 
> http://svn.gnome.org/svn/evince/trunk/shell/ev-application-service.xml).
> 
> Is there a dbus interface to trigger a document to be reloaded?  If not, 
> are there any other suggestions on how to get evince to reload a 
> document programmatically?
> 
> Cheers,
> 
> Russell Kliese
> 
> _______________________________________________
> Evince-list mailing list
> Evince-list gnome org
> http://mail.gnome.org/mailman/listinfo/evince-list

-- 
Carlos Garcia Campos
   elkalmail yahoo es
   carlosgc gnome org
   http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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