GtkFileFilter



Hi,

in the current Filechooser implementation there is a problem with the
GtkFileFilter if you first add the filter to a chooser and than add a
pattern to the filter:

filter = gtk_file_filter_new ();
gtk_file_chooser_add_filter (chooser, filter);
gtk_filter_add_pattern (filter, "*.foo");

The problem is that the file list is filtered in the add_filter function
and the filter doesn't notify about changes, so the pattern is ignored
till another folder is selected or another filter is selected (see for
example http://bugzilla.gnome.org/show_bug.cgi?id=128396). 

Should we document this problem or add a "changed" signal to
GtkFileFilter?

Regards
	Jan Arne Petersen



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