Re: URIs vs. half-baked URIs (was Filesel drag and drop)



On Thu, 2 Aug 2001, Darin Adler wrote:

> Relevant functions to look at to see the problem in existing GNOME code 
> are gnome_uri_list_extract_filenames, which extracts paths from URIs in 
> this same half-baked way, and add_one_compatible_uri from eel-dnd.c which 
> goes out of its way to construct half-baked URIs that 
> gnome_uri_list_extract_filenames can deal with.

I actually cut and pasted the gnome_uri_list_extract_filenames.

But i agree that this is broken. One way is to instead cut and paste from 
gnome-vfs. Another to add g_local_path_to/from_uri () to glib.

I think adding the glib function would be good, possilby even adding 
gtk_dnd_urilist_explode() and gtk_dnd_urilist_create ().

BUT, we're in API freeze.... What to do? Create a cut and paste 
repository?

/ Alex






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