Select Input DCP/ICC Profile window shows DNG files, issue 2320

This commit is contained in:
DrSlony
2014-04-01 16:58:41 +02:00
parent db9b71fa77
commit c8204781f5
2 changed files with 12 additions and 2 deletions

View File

@@ -1180,6 +1180,7 @@ TP_ICM_DCPILLUMINANT_INTERPOLATED;Interpolated
TP_ICM_DCPILLUMINANT_TOOLTIP;Select which embedded DCP illuminant to employ. Default is "interpolated" which is a mix between the two based on white balance. The setting is only enabled if a Dual-Illuminant DCP with interpolation support is selected.
TP_ICM_FILEDLGFILTERANY;Any files
TP_ICM_FILEDLGFILTERICM;Color profiles
TP_ICM_FILEDLGFILTERICMDNG;Color profiles + DNG
TP_ICM_INPUTCAMERAICC;Auto-matched camera profile
TP_ICM_INPUTCAMERAICC_TOOLTIP;Use RawTherapee's camera-specific DCP or ICC input color profiles. These profiles are more precise than simpler matrix ones. They are not available for all cameras. These profiles are stored in the /iccprofiles/input and /dcpprofiles folders and are automatically retrieved based on a file name matching to the exact model name of the camera.
TP_ICM_INPUTCAMERA;Camera standard

View File

@@ -217,17 +217,26 @@ ICMPanel::ICMPanel () : FoldableToolPanel(this), iunchanged(NULL), icmplistener(
filter_icc.set_name(M("TP_ICM_FILEDLGFILTERICM"));
filter_icc.add_pattern("*.dcp");
filter_icc.add_pattern("*.DCP");
filter_icc.add_pattern("*.dng");
filter_icc.add_pattern("*.DNG");
filter_icc.add_pattern("*.icc");
filter_icc.add_pattern("*.icm");
filter_icc.add_pattern("*.ICC");
filter_icc.add_pattern("*.ICM");
Gtk::FileFilter filter_iccdng;
filter_iccdng.set_name(M("TP_ICM_FILEDLGFILTERICMDNG"));
filter_iccdng.add_pattern("*.dcp");
filter_iccdng.add_pattern("*.DCP");
filter_iccdng.add_pattern("*.dng");
filter_iccdng.add_pattern("*.DNG");
filter_iccdng.add_pattern("*.icc");
filter_iccdng.add_pattern("*.icm");
filter_iccdng.add_pattern("*.ICC");
filter_iccdng.add_pattern("*.ICM");
Gtk::FileFilter filter_any;
filter_any.set_name(M("TP_ICM_FILEDLGFILTERANY"));
filter_any.add_pattern("*");
ipDialog->add_filter (filter_icc);
ipDialog->add_filter (filter_iccdng);
ipDialog->add_filter (filter_any);
oldip = "";