Re: gio/nautilus-related question: desktop and document icons instead of emblems?



On Wed, 2008-02-20 at 12:31 +0100, Christian Neumair wrote:
> Am Mittwoch, den 20.02.2008, 10:28 +0100 schrieb Alexander Larsson:
> > On Tue, 2008-02-19 at 19:47 +0100, Christian Neumair wrote:
> > Its true that it is cached, but the caches are never updated, and
> > nautilus allows changing these directories (and there is the
> > desktop-is-home gconf setting), so the cache could go out of sync with
> > the on-disk config and in-nautilus handling.
> > 
> > Any nautilus handling of this would have to happen with
> > nautilus_get_xdg_dir().
> 
> Isn't this a glib bug? Can't glib monitor the xdg directory through gio,
> at least for applications that use a main loop? If it's to obtrusive to
> do this by default, we can of course make it optional by offering an
> installation/uninstallation glib API call.

Its a design choice in glib really. It returns a const string to the
app, so its kinda hard to have this change, as we can't free the old
value.




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