Re: volume:// uri support

2007-12-13 Thread David Zeuthen
On Thu, 2007-12-13 at 12:13 +0100, Alexander Larsson wrote: > > 1. Introduce g_file_get_stable_uri() and always make g_file_get_uri() > > return file:// URI's for local files > > Given the above, this is the only workable solution. Thanks for the detailed reply; I pretty much agree with all

Re: volume:// uri support

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 03:46 -0800, Brian J. Tarricone wrote: > On Thu, 13 Dec 2007 12:13:33 +0100 Alexander Larsson wrote: > > > Also, I don't think this should be in libgio itself. Its really > > something that would be part of the unix desktop and not something > > that makes sense on other pl

Re: volume:// uri support

2007-12-13 Thread Brian J. Tarricone
On Thu, 13 Dec 2007 12:13:33 +0100 Alexander Larsson wrote: > On Thu, 2007-12-13 at 01:17 -0500, David Zeuthen wrote: > > volume://name=davidz%20data;uuid=1234/path/to/file.txt > > /media/disk/path/to/file.txt > Also, I don't think this should be in libgio itself. Its really > something th

Re: volume:// uri support

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 01:17 -0500, David Zeuthen wrote: > Hey Alex, > > I've attached some preliminary patches to introduce a new volume:// name > space. The thinking is that g_file_get_uri() will return a persistent > URI if a local file is on user-visible media. > > (Emphasis on user-visible.

Re: volume:// uri support

2007-12-13 Thread Mathias Hasselmann
Am Donnerstag, den 13.12.2007, 02:07 -0500 schrieb David Zeuthen: > On Thu, 2007-12-13 at 08:01 +0100, Mathias Hasselmann wrote: > > Am Donnerstag, den 13.12.2007, 01:17 -0500 schrieb David Zeuthen: > > > There's a screenshot here showing integration into Nautilus > > > > > > http://people.freede

Re: volume:// uri support

2007-12-12 Thread David Zeuthen
On Thu, 2007-12-13 at 08:01 +0100, Mathias Hasselmann wrote: > Am Donnerstag, den 13.12.2007, 01:17 -0500 schrieb David Zeuthen: > > There's a screenshot here showing integration into Nautilus > > > > http://people.freedesktop.org/~david/gvfs-hal-2-persistent-volume-uris.png > > Woah! Wtf! That

Re: volume:// uri support

2007-12-12 Thread Mathias Hasselmann
Am Donnerstag, den 13.12.2007, 01:17 -0500 schrieb David Zeuthen: > There's a screenshot here showing integration into Nautilus > > http://people.freedesktop.org/~david/gvfs-hal-2-persistent-volume-uris.png Woah! Wtf! That URL in the screenshot makes me wish we'd have MS-DOS style drive letters!

volume:// uri support

2007-12-12 Thread David Zeuthen
Hey Alex, I've attached some preliminary patches to introduce a new volume:// name space. The thinking is that g_file_get_uri() will return a persistent URI if a local file is on user-visible media. (Emphasis on user-visible. As in the media is visible in the UI, e.g. computer://, Nautilus's side