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

Re: gEDA-user: [pcb GTK HID] Updated patch for filters in filechooser dialog



Bert,

just a question about the shell style globs for the filters.

you are adding two of the posable capitalizations

+    gtk_file_filter_add_pattern (pcb_filter, "*.pcb");
+    gtk_file_filter_add_pattern (pcb_filter, "*.PCB");

Will gtk's globs use the following syntax?

+    gtk_file_filter_add_pattern (pcb_filter, "*.[Pp][Cc][Bb]");

If it did, it would match

pcb
Pcb
pCb
pcB
......
PCB

and only use one glob pattern


also I thought we made mime types and the gtk chooser can use mime  
types too.....
gtk_file_filter_add_mime_type()

Hardkrash

On Mar 25, 2009, at 4:23 PM, Bert Timmerman wrote:

> Hi all,
>
> Updated my patch after some useful comments by Frank Bergmann.
>
> The patch is also filed in the SF tracker as patch #2686963
>
> Kind regards,
>
> Bert Timmerman.
> <20090325_Apply-filters-on-the-filechooser-dialogs-when-loadin.patch>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user