more formatting cleanup

This commit is contained in:
Morgan Hardwood 2017-08-10 15:28:06 +02:00
parent f0e58f43e7
commit f17cda47c6
2 changed files with 462 additions and 459 deletions

View File

@ -1557,6 +1557,7 @@ int Options::readFromFile (Glib::ustring fname)
rtSettings.viewingdevicegrey = keyFile.get_integer ("Color Management", "grey");
}
*/
if (keyFile.has_key ("Color Management", "greySc")) {
rtSettings.viewinggreySc = keyFile.get_integer ("Color Management", "greySc");
}

View File

@ -894,10 +894,12 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
Gtk::Label* lreloadneeded1 = Gtk::manage (new Gtk::Label (M ("PREFERENCES_IMG_RELOAD_NEEDED"), Gtk::ALIGN_START));
setExpandAlignProperties (lreloadneeded1, true, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
colo->attach (*lreloadneeded1, 0, 0, 2, 1);
// colo->attach (*viewlab, 0, 1, 1, 1);
// colo->attach (*view, 1, 1, 1, 1);
// colo->attach (*greylab, 0, 2, 1, 1);
// colo->attach (*grey, 1, 2, 1, 1);
/*
colo->attach (*viewlab, 0, 1, 1, 1);
colo->attach (*view, 1, 1, 1, 1);
colo->attach (*greylab, 0, 2, 1, 1);
colo->attach (*grey, 1, 2, 1, 1);
*/
colo->attach (*greySclab, 0, 3, 1, 1);
colo->attach (*greySc, 1, 3, 1, 1);
cbciecamfloat = Gtk::manage (new Gtk::CheckButton (M ("PREFERENCES_CIEART_LABEL")));