summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 336d365)
raw | patch | inline | side by side (parent: 336d365)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 18 Jul 2007 16:33:53 +0000 (16:33 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 18 Jul 2007 16:33:53 +0000 (16:33 +0000) |
src/ui/dialog/filedialog.cpp | patch | blob | history |
index 2a5ededbb475bf88fd9f0f35b722587cb484a9fd..08c0d411615c801106332b5a31816862a84cb491 100644 (file)
void FileOpenDialogImpl::createFilterMenu()
{
- //patterns added dynamically below
- Gtk::FileFilter allImageFilter;
- allImageFilter.set_name(_("All Images"));
- extensionMap[Glib::ustring(_("All Images"))]=NULL;
- add_filter(allImageFilter);
+ Gtk::FileFilter allInkscapeFilter;
+ allInkscapeFilter.set_name(_("All Inkscape Files"));
+ extensionMap[Glib::ustring(_("All Inkscape Files"))]=NULL;
+ add_filter(allInkscapeFilter);
Gtk::FileFilter allFilter;
allFilter.set_name(_("All Files"));
allFilter.add_pattern("*");
add_filter(allFilter);
- //patterns added dynamically below
- Gtk::FileFilter allInkscapeFilter;
- allInkscapeFilter.set_name(_("All Inkscape Files"));
- extensionMap[Glib::ustring(_("All Inkscape Files"))]=NULL;
- add_filter(allInkscapeFilter);
+ Gtk::FileFilter allImageFilter;
+ allImageFilter.set_name(_("All Images"));
+ extensionMap[Glib::ustring(_("All Images"))]=NULL;
+ add_filter(allImageFilter);
+ //patterns added dynamically below
Inkscape::Extension::DB::InputList extension_list;
Inkscape::Extension::db.get_input_list(extension_list);