implement our own custom FileChooserButton, with the aim of speeding up startup time

See #4140

Compiles fine, but needs testing...
This commit is contained in:
Alberto Griggio
2017-10-24 00:27:55 +02:00
parent 8c328cafd1
commit df8b52f978
7 changed files with 252 additions and 38 deletions

View File

@@ -132,7 +132,7 @@ LensProfilePanel::LensProfilePanel () :
ckbUseCA = Gtk::manage (new Gtk::CheckButton (M("TP_LENSPROFILE_USECA")));
pack_start (*ckbUseCA, Gtk::PACK_SHRINK, 4);
conLCPFile = fcbLCPFile->signal_file_set().connect( sigc::mem_fun(*this, &LensProfilePanel::onLCPFileChanged), true);
conLCPFile = fcbLCPFile->signal_file_set().connect( sigc::mem_fun(*this, &LensProfilePanel::onLCPFileChanged)); //, true);
conUseDist = ckbUseDist->signal_toggled().connect( sigc::mem_fun(*this, &LensProfilePanel::onUseDistChanged) );
ckbUseVign->signal_toggled().connect( sigc::mem_fun(*this, &LensProfilePanel::onUseVignChanged) );
ckbUseCA->signal_toggled().connect( sigc::mem_fun(*this, &LensProfilePanel::onUseCAChanged) );