Re: Policy to show drives/volumes

Le vendredi 31 mars 2006 à 14:04 -0600, Federico Mena Quintero a écrit :
> Hi,
> I'm looking at this bug:
> Right now we have four places where the user can see drives/volumes:
> 1. The file chooser shows all user-visible drives, and all user-visible
> volumes with no associated drives.
> 2. The computer:/// method does the same as (1)
> 3. The desktop shows only user-visible modules (so e.g. you don't get a floppy
> icon for unmounted floppies).
> 4. The Places sidebar in Nautilus does the same as (3).
> The most visible inconsistency is (1) vs. (4).  Also, (1) sucks when you
> plug in an USB multicard reader, since you get several entries of
> "SanDisk Card Reader".
> Let's say we follow a policy of showing only user-visible volumes, like
> in (3) and (4).  In the magical world of HAL, gnome-volume-manager, and
> friends, everything works perfectly *except* for floppies:  when you put
> in a floppy in your drive, you don't get an icon because there is no
> notification from the hardware.  Yes, mango-stained floppies are still
> widely used over here in the third world :)
> So I think we should only show user-visible modules, like in (3) and
> (4), and have a special case for floppy drives in that we always show
> them.
> If this makes sense, my next question is how to detect whether a
> GnomeVFSDrive is a floppy drive.  There's a GnomeVFSDeviceType
> enumeration, but you can only get that for a GnomeVFSVolume, not a
> GnomeVFSDrive.
> [It is probably fine to have computer:/// show both drives and volumes;
> there's no clutter since computer:/// is kind of hidden.]
> Thoughts?
>   Federico

I think it's a good idea. I posted a patch, sorry if you already work on
it, I saw your reply on the bug when I was coming to attach my patch.

Xavier Claessens.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

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