Re: [RFC] Simple file monitoring API for GLib



On Mon, 2006-05-08 at 20:06 -0500, Federico Mena Quintero wrote:
> On Mon, 2006-05-08 at 22:49 +0100, Emmanuele Bassi wrote:
> 
> > A while ago, on IRC, Christian Persch made the request[1] that the
> > monitoring of the storage file used by the GtkRecentManager could be
> > overridden by libgnome, so that every application using the GnomeProgram
> > API would automagically have notifications of file changes using
> > gnome-vfs, instead of the default implementation which stat()s the file
> > once in a while[2].
> 
> While having a "monitor a file" abstraction in Glib would be nice, I
> don't think it should be added only to monitor the recent-files storage.
> 
> Displaying a list of recent-files is always initiated by the user, and
> all such displays are short-lived:  a File menu, and a file chooser.
> So, you don't need to keep anything up to date continuously.  You can
> just re-read the recent-files storage when the user brings up such a
> list.

GIMP has a list of recent files that can be docked and open all the
time. Just a thought to take into consideration :-)

ciao,
--mitch

>   Federico
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list



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