[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: RE: SPAM-LOW: Re: gtk_file_selection not showing USB memory device
From: "Ian Puleston" <ian () underpressuredivers ! com>
Date: 2006-02-25 2:35:17
Message-ID: 05d301c639b4$1d79b5d0$800101df () sv ! us ! sonicwall ! com
[Download RAW message or body]
Thanks - I didn't realize there was a new alternative to gtk_file_selection
(I based this originally on info from the tutorial which presumably must've
been written before the gtk_file_chooser came along). Anyway
gtk_file_chooser works fine.
Ian
> -----Original Message-----
> From: Sven Neumann [mailto:sven@gimp.org]
> Sent: Friday, February 24, 2006 3:24 AM
> To: Ian Puleston
> Cc: gtk-list@gnome.org
> Subject: SPAM-LOW: Re: gtk_file_selection not showing USB memory device
>
> Hi,
>
> "Ian Puleston" <ian@underpressuredivers.com> writes:
>
> > I took a look at the source code, and it seems obvious why this is
> > happening. This is from function win32_gtk_add_drives_to_dir_list() in
> > gtkfilesel.c:
> >
> > /* Get the drives string */
> > GetLogicalDriveStrings (sizeof (buffer), buffer);
> >
> > /* Add the drives as necessary */
> > textPtr = buffer;
> > while (*textPtr != '\0')
> > {
> > /* Ignore floppies (?) */
> > if (GetDriveType (textPtr) != DRIVE_REMOVABLE)
> > {
> >
> > So it is deliberately ignoring floppies and other removable media.
> Anyone
> > know why that is?
>
> GtkFileSelection is deprecated for several years now. It is somewhat
> futile to worry about this misbehaviour. What about using
> GtkFileChooser instead?
>
>
> Sven
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic