1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

[#162 state:fixed] Apply the 'Match scaled pictures' option to exif timestamp scan type.

This commit is contained in:
Virgil Dupras
2011-06-15 10:13:03 -04:00
parent 4399fe9d17
commit cd9fd3a10b
10 changed files with 21 additions and 59 deletions

View File

@@ -530,7 +530,7 @@
<translation>Année</translation>
</message>
<message>
<source>Match scaled pictures together</source>
<source>Match pictures of different dimensions</source>
<translation>Comparer les images de tailles différentes</translation>
</message>
<message>

View File

@@ -32,7 +32,7 @@ class PreferencesDialog(PreferencesDialogBase):
self._setupScanTypeBox(scanTypeLabels)
self._setupFilterHardnessBox()
self.widgetsVLayout.addLayout(self.filterHardnessHLayout)
self._setupAddCheckbox('matchScaledBox', tr("Match scaled pictures together"))
self._setupAddCheckbox('matchScaledBox', tr("Match pictures of different dimensions"))
self.widgetsVLayout.addWidget(self.matchScaledBox)
self._setupAddCheckbox('mixFileKindBox', tr("Can mix file kind"))
self.widgetsVLayout.addWidget(self.mixFileKindBox)
@@ -63,7 +63,6 @@ class PreferencesDialog(PreferencesDialogBase):
scan_type = SCAN_TYPE_ORDER[self.scanTypeComboBox.currentIndex()]
fuzzy_scan = scan_type == ScanType.FuzzyBlock
self.filterHardnessSlider.setEnabled(fuzzy_scan)
self.matchScaledBox.setEnabled(fuzzy_scan)
if __name__ == '__main__':