Commit f91cee66 authored by Murray Cumming's avatar Murray Cumming
Browse files

ImageGlom: Set an appropriate default file filter.

* glom/utility_widgets/imageglom.cc: evince-view sets its own default,
but that's not ideal for us.
parent 740a6a3f
2011-07-14 Murray Cumming <murrayc@murrayc.com>
ImageGlom: Set an appropriate default file filter.
* glom/utility_widgets/imageglom.cc: evince-view sets its own default,
but that's not ideal for us.
2011-07-14 Murray Cumming <murrayc@murrayc.com>
ImageGlom: Use G_FILE_ATTRIBUTE_STANDARD_ICON
......
......@@ -601,6 +601,9 @@ static void set_file_filter_images(Gtk::FileChooser& file_chooser)
ev_document_factory_add_filters(GTK_WIDGET(file_chooser.gobj()), 0);
//Make Images the currently-selected one:
file_chooser.set_filter(filter);
/* ev_document_factory_add_filters() add this already:
filter = Gtk::FileFilter::create();
filter->set_name(_("All Files"));
......
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