Printer profile added in Preferences for soft-proofing
The output profiles now retain only 'Display' device class as well as the Monitor profile - and they both have to have rgb color space, the printer profile retain only 'Output' device class. MacOS can use soft-proofing but due to undocumented feature of OSX, and since Cairo assume that the image data are sRGB, the monitor profile is forced to 'RT_sRGB'. A warning message replace the combobox for this OS.
This commit is contained in:
@@ -472,9 +472,13 @@ public:
|
||||
|
||||
inline void setActiveTextOrIndex (Gtk::ComboBoxText& comboBox, const Glib::ustring& text, int index)
|
||||
{
|
||||
comboBox.set_active_text (text);
|
||||
bool valueSet = false;
|
||||
if (!text.empty()) {
|
||||
comboBox.set_active_text (text);
|
||||
valueSet = true;
|
||||
}
|
||||
|
||||
if (comboBox.get_active_row_number () < 0)
|
||||
if (!valueSet || comboBox.get_active_row_number () < 0)
|
||||
comboBox.set_active (index);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user