Preference GUI for internal thumb if unchanged flag; see issue #552
This commit is contained in:
@@ -534,6 +534,7 @@ PREFERENCES_INTENT_ABSOLUTE;Absolute Colorimetric
|
|||||||
PREFERENCES_INTENT_PERCEPTUAL;Perceptual
|
PREFERENCES_INTENT_PERCEPTUAL;Perceptual
|
||||||
PREFERENCES_INTENT_RELATIVE;Relative Colorimetric
|
PREFERENCES_INTENT_RELATIVE;Relative Colorimetric
|
||||||
PREFERENCES_INTENT_SATURATION;Saturation
|
PREFERENCES_INTENT_SATURATION;Saturation
|
||||||
|
PREFERENCES_INTERNALTHUMBIFUNTOUCHED;Show RAW internal thumbnail if unedited
|
||||||
PREFERENCES_LIVETHUMBNAILS;Live Thumbnails (slower)
|
PREFERENCES_LIVETHUMBNAILS;Live Thumbnails (slower)
|
||||||
PREFERENCES_METADATA;Metadata
|
PREFERENCES_METADATA;Metadata
|
||||||
PREFERENCES_MONITORICC;Monitor Profile
|
PREFERENCES_MONITORICC;Monitor Profile
|
||||||
|
@@ -595,12 +595,15 @@ Gtk::Widget* Preferences::getFileBrowserPanel () {
|
|||||||
Gtk::Frame* fro = new Gtk::Frame (M("PREFERENCES_FBROWSEROPTS"));
|
Gtk::Frame* fro = new Gtk::Frame (M("PREFERENCES_FBROWSEROPTS"));
|
||||||
showDateTime = new Gtk::CheckButton (M("PREFERENCES_SHOWDATETIME"));
|
showDateTime = new Gtk::CheckButton (M("PREFERENCES_SHOWDATETIME"));
|
||||||
showBasicExif = new Gtk::CheckButton (M("PREFERENCES_SHOWBASICEXIF"));
|
showBasicExif = new Gtk::CheckButton (M("PREFERENCES_SHOWBASICEXIF"));
|
||||||
Gtk::VBox* vbro = new Gtk::VBox ();
|
|
||||||
overlayedFileNames = new Gtk::CheckButton (M("PREFERENCES_OVERLAY_FILENAMES"));
|
overlayedFileNames = new Gtk::CheckButton (M("PREFERENCES_OVERLAY_FILENAMES"));
|
||||||
|
ckbInternalThumbIfUntouched = new Gtk::CheckButton (M("PREFERENCES_INTERNALTHUMBIFUNTOUCHED"));
|
||||||
|
|
||||||
|
Gtk::VBox* vbro = new Gtk::VBox ();
|
||||||
vbro->set_border_width (4);
|
vbro->set_border_width (4);
|
||||||
vbro->pack_start (*showDateTime, Gtk::PACK_SHRINK, 0);
|
vbro->pack_start (*showDateTime, Gtk::PACK_SHRINK, 0);
|
||||||
vbro->pack_start (*showBasicExif, Gtk::PACK_SHRINK, 0);
|
vbro->pack_start (*showBasicExif, Gtk::PACK_SHRINK, 0);
|
||||||
vbro->pack_start (*overlayedFileNames, Gtk::PACK_SHRINK, 4);
|
vbro->pack_start (*overlayedFileNames, Gtk::PACK_SHRINK, 4);
|
||||||
|
vbro->pack_start (*ckbInternalThumbIfUntouched, Gtk::PACK_SHRINK, 0);
|
||||||
|
|
||||||
fro->add (*vbro);
|
fro->add (*vbro);
|
||||||
|
|
||||||
@@ -844,6 +847,7 @@ void Preferences::storePreferences () {
|
|||||||
moptions.maxThumbnailHeight = (int)maxThumbSize->get_value ();
|
moptions.maxThumbnailHeight = (int)maxThumbSize->get_value ();
|
||||||
moptions.maxCacheEntries = (int)maxCacheEntries->get_value ();
|
moptions.maxCacheEntries = (int)maxCacheEntries->get_value ();
|
||||||
moptions.overlayedFileNames = overlayedFileNames->get_active ();
|
moptions.overlayedFileNames = overlayedFileNames->get_active ();
|
||||||
|
moptions.internalThumbIfUntouched = ckbInternalThumbIfUntouched->get_active ();
|
||||||
|
|
||||||
moptions.saveParamsFile = saveParamsFile->get_active ();
|
moptions.saveParamsFile = saveParamsFile->get_active ();
|
||||||
moptions.saveParamsCache = saveParamsCache->get_active ();
|
moptions.saveParamsCache = saveParamsCache->get_active ();
|
||||||
@@ -950,6 +954,7 @@ void Preferences::fillPreferences () {
|
|||||||
maxThumbSize->set_value (moptions.maxThumbnailHeight);
|
maxThumbSize->set_value (moptions.maxThumbnailHeight);
|
||||||
maxCacheEntries->set_value (moptions.maxCacheEntries);
|
maxCacheEntries->set_value (moptions.maxCacheEntries);
|
||||||
overlayedFileNames->set_active (moptions.overlayedFileNames);
|
overlayedFileNames->set_active (moptions.overlayedFileNames);
|
||||||
|
ckbInternalThumbIfUntouched->set_active(moptions.internalThumbIfUntouched);
|
||||||
|
|
||||||
saveParamsFile->set_active (moptions.saveParamsFile);
|
saveParamsFile->set_active (moptions.saveParamsFile);
|
||||||
saveParamsCache->set_active (moptions.saveParamsCache);
|
saveParamsCache->set_active (moptions.saveParamsCache);
|
||||||
|
@@ -115,6 +115,7 @@ class Preferences : public Gtk::Dialog {
|
|||||||
Gtk::SpinButton* spbSndLngEditProcDoneSecs;
|
Gtk::SpinButton* spbSndLngEditProcDoneSecs;
|
||||||
|
|
||||||
Gtk::CheckButton* ckbTunnelMetaData;
|
Gtk::CheckButton* ckbTunnelMetaData;
|
||||||
|
Gtk::CheckButton* ckbInternalThumbIfUntouched;
|
||||||
|
|
||||||
Options moptions;
|
Options moptions;
|
||||||
sigc::connection tconn, fconn, usethcon, addc, setc, dfconn, ffconn;
|
sigc::connection tconn, fconn, usethcon, addc, setc, dfconn, ffconn;
|
||||||
|
Reference in New Issue
Block a user