Added restart required label to Preferences, Color management page. Now it is explicitly stated, that it will be possible to select monitor profile only after restarting rawtherapee.

Fixes #4198
	modified:   rtgui/preferences.cc
This commit is contained in:
Oleg Koncevoy 2018-01-03 17:12:36 +02:00
parent e229b9519e
commit 72ec02a98d

View File

@ -741,8 +741,12 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
setExpandAlignProperties (iccdgrid, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL); setExpandAlignProperties (iccdgrid, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
iccdgrid->set_column_spacing (4); iccdgrid->set_column_spacing (4);
Gtk::Label* monProfileRestartNeeded = Gtk::manage ( new Gtk::Label (Glib::ustring (" (") + M ("PREFERENCES_APPLNEXTSTARTUP") + ")") );
setExpandAlignProperties(monProfileRestartNeeded, false, false, Gtk::ALIGN_START, Gtk::ALIGN_BASELINE);
iccdgrid->attach (*pdlabel, 0, 0, 1, 1); iccdgrid->attach (*pdlabel, 0, 0, 1, 1);
iccdgrid->attach (*iccDir, 1, 0, 1, 1); iccdgrid->attach (*iccDir, 1, 0, 1, 1);
iccdgrid->attach (*monProfileRestartNeeded, 2, 0, 1, 1);
iccDir->signal_selection_changed ().connect (sigc::mem_fun (this, &Preferences::iccDirChanged)); iccDir->signal_selection_changed ().connect (sigc::mem_fun (this, &Preferences::iccDirChanged));