From: buliabyak Date: Wed, 18 Jul 2007 16:33:53 +0000 (+0000) Subject: make all-inkscape-files the default filter instead of all-images (do we need that... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=715835088c4183f700d3d56386bfc40ab7cacc54;p=inkscape.git 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) --- 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);