GtkFileChooser and case sensitive filters



If there any way to set a GtkFileFilter to be case insensitive?

For example I want users to be able to see .cue, .CUE files etc. Here
is the code I am using:

GtkFileFilter *imagefilter = gtk_file_filter_new();
gtk_file_filter_add_pattern (imagefilter, "*.iso");
gtk_file_filter_add_pattern (imagefilter, "*.toc");
gtk_file_filter_add_pattern (imagefilter, "*.cue");
gtk_file_filter_set_name(imagefilter,_("CD Image files"));

and I only get .cue files in the chooser. My apologies if I've missed
something obvious in the docs, it's getting late here :-)

Thanks

Luke



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