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

@@ -89,15 +89,15 @@ class Preferences : public Gtk::Dialog, public ProfileStoreListener
Gtk::RadioButton* sdlast;
Gtk::RadioButton* sdhome;
Gtk::RadioButton* sdother;
Gtk::FileChooserButton* gimpDir;
Gtk::FileChooserButton* psDir;
MyFileChooserButton* gimpDir;
MyFileChooserButton* psDir;
Gtk::Entry* editorToSendTo;
Gtk::RadioButton* edGimp;
Gtk::RadioButton* edPS;
Gtk::RadioButton* edOther;
Gtk::FileChooserButton* darkFrameDir;
Gtk::FileChooserButton* flatFieldDir;
Gtk::FileChooserButton* clutsDir;
MyFileChooserButton* darkFrameDir;
MyFileChooserButton* flatFieldDir;
MyFileChooserButton* clutsDir;
Gtk::Label *dfLabel;
Gtk::Label *ffLabel;
@@ -105,7 +105,7 @@ class Preferences : public Gtk::Dialog, public ProfileStoreListener
Gtk::CheckButton* showBasicExif;
Gtk::CheckButton* showExpComp;
Gtk::FileChooserButton* iccDir;
MyFileChooserButton* iccDir;
Gtk::ComboBoxText* prtProfile;
Gtk::ComboBoxText* prtIntent;
Gtk::CheckButton* prtBPC;