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:
@@ -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
|
||||
|
Reference in New Issue
Block a user