Re: [PATCH] close windows on unmount

On Fri, 2004-03-12 at 07:36, Ryan McDougall wrote:

> Special casing this way doesn't look quite right to me. I think the
> problem is not at the nautilus level, but at the file system abstraction
> level.
> Perhaps we need a new signal: "unavailable". When the FS unmounts, it
> implies that resource is gone from the system, and unlikely to return in
> its present form any time soon; so nautilus window closes. When the FS
> is unavailable it means that the resource is not reachable, but is still
> there when you ask again, provided that "connection" (in what ever form
> it may be, whether automounted or network connected) is re-established;
> so nautilus keeps the window open, and tries to "reconnect" when an icon
> is clicked. If it is unable to reconnect, then it errors out and closes.
> That way the two signals capture the semantic difference between "I'm
> gone" and "I'm temporarily unavailable".
> I think what you propose is a bit hackish. Comments?

And practically, how would you implement this on a unix machine?

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an underprivileged one-eyed waffle chef with nothing left to lose. She's 
a time-travelling psychic stripper with a song in her heart and a spring in 
her step. They fight crime! 

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