John, the GTK file dialog currently ignores the list of filters. Is there any plan to change that?
FileDialog::Private::open(string const & path, lyx::support::FileFilterList const & /*filters*/, string const & /*suggested*/) The idea is to populate a combobox like: All files (*) LyX files (*.lyx) Graphics files (*.{png,jpg} *.ps) and to pass the chosen filter to GTK with: filters.filters()[2].globs() -> "*.{png,jpg} *.ps" If GTK doesn't like "*.{png,jpg}" then pass it through 'expand_brace_globs': expand_brace_globs(filters.filters()[2].globs()) -> "*.png *.jpg *.ps" Can you tell me what, if any of this functionality you'd need? -- Angus