Extend the editor panel to support selection of a monitor profile and rendering intent and extend the preferences to provide a default profile and intent for the editor panel.

This commit is contained in:
Adam Reichold
2015-11-30 21:24:26 +01:00
parent 35919bddc9
commit 22bffabe7f
11 changed files with 178 additions and 56 deletions

View File

@@ -496,5 +496,12 @@ public:
}
};
inline void setActiveTextOrIndex (Gtk::ComboBoxText& comboBox, const Glib::ustring& text, int index)
{
comboBox.set_active_text (text);
if (comboBox.get_active_row_number () < 0)
comboBox.set_active (index);
}
#endif