mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
dgpe cocoa: adjusted to MatchFactory removal.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40194
This commit is contained in:
parent
11977c6533
commit
371cdda911
@ -39,7 +39,7 @@ class PyDupeGuru(PyApp):
|
|||||||
self.app.scanner.ignore_list.Clear()
|
self.app.scanner.ignore_list.Clear()
|
||||||
|
|
||||||
def clearPictureCache(self):
|
def clearPictureCache(self):
|
||||||
self.app.scanner.match_factory.cached_blocks.clear()
|
self.app.scanner.cached_blocks.clear()
|
||||||
|
|
||||||
def doScan(self):
|
def doScan(self):
|
||||||
return self.app.start_scanning()
|
return self.app.start_scanning()
|
||||||
@ -172,10 +172,10 @@ class PyDupeGuru(PyApp):
|
|||||||
|
|
||||||
#---Properties
|
#---Properties
|
||||||
def setMatchScaled_(self,match_scaled):
|
def setMatchScaled_(self,match_scaled):
|
||||||
self.app.scanner.match_factory.match_scaled = match_scaled
|
self.app.scanner.match_scaled = match_scaled
|
||||||
|
|
||||||
def setMinMatchPercentage_(self,percentage):
|
def setMinMatchPercentage_(self,percentage):
|
||||||
self.app.scanner.match_factory.threshold = int(percentage)
|
self.app.scanner.threshold = int(percentage)
|
||||||
|
|
||||||
def setMixFileKind_(self,mix_file_kind):
|
def setMixFileKind_(self,mix_file_kind):
|
||||||
self.app.scanner.mix_file_kind = mix_file_kind
|
self.app.scanner.mix_file_kind = mix_file_kind
|
||||||
|
Loading…
x
Reference in New Issue
Block a user