Document.factoryAddFilters

Adds some file filters to @chooser.

Always add a "All documents" format.

If @document is not %NULL, adds a #GtkFileFilter for @document's MIME type.

If @document is %NULL, adds a #GtkFileFilter for each document type that evince can handle.

class Document
static
void
factoryAddFilters

Parameters

chooser Widget

a #GtkFileChooser

document Document

a #EvDocument, or %NULL

Meta