Merge pull request #4314 from lvreclp/dev_restart_required_for_colormgmt

Added restart required label to Preferences.
This commit is contained in:
Jean-Christophe 2018-01-21 00:25:38 +01:00 committed by GitHub
commit 61e411b437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -757,8 +757,12 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
setExpandAlignProperties (iccdgrid, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
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 (*iccDir, 1, 0, 1, 1);
iccdgrid->attach (*monProfileRestartNeeded, 2, 0, 1, 1);
iccDir->signal_selection_changed ().connect (sigc::mem_fun (this, &Preferences::iccDirChanged));