From bb3b1dd6c56867f9c4bdced982aea6851882e22f Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 10 Feb 2010 07:24:36 +0000 Subject: [PATCH] theide: Package file selector now has more type entries (C++ files, layout files...) git-svn-id: svn://ultimatepp.org/upp/trunk@2047 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/Common/ComDlg.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/uppsrc/ide/Common/ComDlg.cpp b/uppsrc/ide/Common/ComDlg.cpp index c0133a158..28909310f 100644 --- a/uppsrc/ide/Common/ComDlg.cpp +++ b/uppsrc/ide/Common/ComDlg.cpp @@ -89,7 +89,12 @@ void IdeFs(FileSel& fs) { void SourceFs(FileSel& fs) { String mask = "*.cpp *.h *.hpp *.c *.C *.cc *.cxx *.lay *.iml *.lng *.sch *.usc *.rc *.brc *.upt"; - fs.Type("Source files (" + mask + ")", mask); + fs.Type("C++ files (*.cpp *.h *.hpp *.c *.C *.cc *.cxx)", "*.cpp *.h *.hpp *.c *.C *.cc *.cxx"); + fs.Type("Layout files (*.lay)", "*.lay"); + fs.Type("Image files (*.iml)", "*.iml"); + fs.Type("Language files (*.lng)", "*.lng"); + fs.Type("Other special files (*.sch *.usc *.rc *.brc *.upt)", "*.sch *.usc *.rc *.brc *.upt"); + fs.Type("All source files (" + mask + ")", mask); IdeFs(fs); }