dgpe cocoa: adjusted to MatchFactory removal.

--HG--
extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40194
This commit is contained in:
hsoft 2009-10-18 09:29:33 +00:00
parent 11977c6533
commit 371cdda911
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ class PyDupeGuru(PyApp):
self.app.scanner.ignore_list.Clear()
def clearPictureCache(self):
self.app.scanner.match_factory.cached_blocks.clear()
self.app.scanner.cached_blocks.clear()
def doScan(self):
return self.app.start_scanning()
@ -172,10 +172,10 @@ class PyDupeGuru(PyApp):
#---Properties
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):
self.app.scanner.match_factory.threshold = int(percentage)
self.app.scanner.threshold = int(percentage)
def setMixFileKind_(self,mix_file_kind):
self.app.scanner.mix_file_kind = mix_file_kind