Re: gvfs status report

On Thu, 2007-02-15 at 17:52 +0100, Xavier Bestel wrote:
> On Thu, 2007-02-15 at 17:45 +0100, Alexander Larsson wrote:

> > While a laudable idea I'm not sure this is practical, at least not as
> > the main approach. If I drag a directory from nautilus to some other
> > apps, do you really want to transfer the full recursive copy of all
> > files in the directory via X messages? Its not gonna be fast...
> Well, if the 2 apps don't sit on the same computer, what else could you
> want ?
> Of course, as an optimization if the 2 apps are "local to each other",
> they should just use the current behavior.

Actually, its more than a performance issue. What you really want is the
file reference (i.e. filename), not the file contents. The app recieving
the filename can do all sorts of things with it, not just read it. e.g.
it could stat it, it could statfs() it to see what filesystem type it is
on, it could traverse the filesystem up or down, or it could open the
file and later save back to the same filename. All of these operations
would have to be supported, and you need to be able to save the file
reference persistantly, for say recent-files.

All in all, that seems hard to do via X.

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a scrappy umbrella-wielding werewolf looking for a cure to the poison 
coursing through his veins. She's a vivacious communist Hell's Angel who don't 
take no shit from nobody. They fight crime! 

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