Re: [Nautilus-list] Re: magic desktop URIs



On Tue, 10 Jul 2001, Darin Adler wrote:

> On Tuesday, July 10, 2001, at 12:33  PM, Havoc Pennington wrote:
> > As an aside: when I write a new file into favorites:, Nautilus doesn't
> > rescan the directory. I guess it can't figure out that a FAM message
> > about ~/.gnome/apps relates to the favorites: URI. Is there a solution
> > to this?
>
> The "real" solution is to add a monitoring API to gnome-vfs, and move the
> FAM support from Nautilus to gnome-vfs. then the favorites module can
> implement favorites monitoring in whatever way is appropriate.
>
> A short-term hack is to hard-code this same logic into the
> nautilus-monitor.c, adding a new call to nautilus-monitor.h that checks
> whether a particular kind of URI can be monitored, which would return TRUE
> for both file URIs and all the various types of magic URIs you are
> introducing. This is a step in the right direction; better than spreading
> around the assumption about what can be monitored into other Nautilus code.

This problem is even worse. The same sort of problems applies to "trash:"!

/ Alex





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