Re: How do I watch a file for changes using JS/Gnome Shell?

Il giorno mer, 21/12/2011 alle 08.51 +0100, Stefano Ciancio ha scritto:
> Hi all,
> i have a configuration file written by a little python interface. I want 
> to watch for changes of config file in gnome shell extension.
> Each time a change occurs I'd like to reload new data in my extension.
> What's the best way to do this?

GFileMonitor (Gio.FileMonitor) it's what you're looking for. See the
docs in devhelp or online at


Attachment: signature.asc
Description: This is a digitally signed message part

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