Commit 49a5c131 authored by Murray Cumming's avatar Murray Cumming
Browse files

ImageGlom: Loading/Saving: Add more FileChooser filters.

* glom/utility_widgets/imageglom.cc: set_file_filter_images():
Use ev_document_factory_add_filters().
parent f62ccd27
2011-07-13 Murray Cumming <murrayc@murrayc.com>
ImageGlom: Loading/Saving: Add more FileChooser filters.
* glom/utility_widgets/imageglom.cc: set_file_filter_images():
Use ev_document_factory_add_filters().
2011-07-13 Murray Cumming <murrayc@murrayc.com>
Image fields: Support PDF (and other types supported by evince)
......
......@@ -565,10 +565,14 @@ static void set_file_filter_images(Gtk::FileChooser& file_chooser)
filter->add_pixbuf_formats();
file_chooser.add_filter(filter);
ev_document_factory_add_filters(GTK_WIDGET(file_chooser.gobj()), 0);
/* ev_document_factory_add_filters() add this already:
filter = Gtk::FileFilter::create();
filter->set_name(_("All Files"));
filter->add_pattern("*");
file_chooser.add_filter(filter);
*/
}
void ImageGlom::on_menupopup_activate_save_file()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment