forked from AuroraMiddleware/gtk
Go back to using the image/* example
This commit is contained in:
parent
350d0b54e3
commit
d39f98fff4
@ -33,7 +33,7 @@
|
|||||||
* types; e.g. a filter for text/plain also matches a file with mime
|
* types; e.g. a filter for text/plain also matches a file with mime
|
||||||
* type application/rtf, since application/rtf is a subclass of
|
* type application/rtf, since application/rtf is a subclass of
|
||||||
* text/plain. Note that #GtkFileFilter allows wildcards for the
|
* text/plain. Note that #GtkFileFilter allows wildcards for the
|
||||||
* subtype of a mime type, so you can e.g. filter for image/<!---->*.
|
* subtype of a mime type, so you can e.g. filter for image/*.
|
||||||
*
|
*
|
||||||
* Normally, filters are used by adding them to a #GtkFileChooser,
|
* Normally, filters are used by adding them to a #GtkFileChooser,
|
||||||
* see gtk_file_chooser_add_filter(), but it is also possible
|
* see gtk_file_chooser_add_filter(), but it is also possible
|
||||||
@ -54,7 +54,7 @@
|
|||||||
* <object class="GtkFileFilter">
|
* <object class="GtkFileFilter">
|
||||||
* <mime-types>
|
* <mime-types>
|
||||||
* <mime-type>text/plain</mime-type>
|
* <mime-type>text/plain</mime-type>
|
||||||
* <mime-type>image/png</mime-type>
|
* <mime-type>image/*</mime-type>
|
||||||
* </mime-types>
|
* </mime-types>
|
||||||
* <patterns>
|
* <patterns>
|
||||||
* <pattern>*.txt</pattern>
|
* <pattern>*.txt</pattern>
|
||||||
|
Loading…
Reference in New Issue
Block a user