Re: State of gvfs in Gnome 2.21



Le mercredi 23 janvier 2008, à 14:31 +0100, Alexander Larsson a écrit :
> > The main problem I had when doing the patch is that there's no
> > equivalent for gnome_vfs_make_uri_canonical(). Is this the right way to
> > do this:
> >   file = g_file_new_from_uri (uri);
> >   canonicalized = g_file_get_uri (file);
> >   g_object_unref (file);
> 
> That should give you some form of canonical uri. Why do you need this
> though?

I think gnome-desktop tries to be clever and to not write non-canonical
uris in .desktop files. Can probably be safely removed.

Vincent

-- 
Les gens heureux ne sont pas pressés.


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