diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-07-18 16:33:53 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-07-18 16:33:53 +0000 |
| commit | 3981b3b367c1070bf9ff1f86fdf3056b80409014 (patch) | |
| tree | 25fab6f3156aeaf0474c7338e4434209ba932299 /src/ui/dialog/filedialog.cpp | |
| parent | Use Inkscape's own code to write coordinates to svg (much nicer fix than comm... (diff) | |
| download | inkscape-3981b3b367c1070bf9ff1f86fdf3056b80409014.tar.gz inkscape-3981b3b367c1070bf9ff1f86fdf3056b80409014.zip | |
make all-inkscape-files the default filter instead of all-images (do we need that at all? MIME has some pretty strange notions of what is an image and what not)
(bzr r3266)
Diffstat (limited to 'src/ui/dialog/filedialog.cpp')
| -rw-r--r-- | src/ui/dialog/filedialog.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/ui/dialog/filedialog.cpp b/src/ui/dialog/filedialog.cpp index 2a5ededbb..08c0d4116 100644 --- a/src/ui/dialog/filedialog.cpp +++ b/src/ui/dialog/filedialog.cpp @@ -894,11 +894,10 @@ private: 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")); @@ -906,12 +905,12 @@ void FileOpenDialogImpl::createFilterMenu() 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); |
