mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 09:49:51 +00:00
Use hsutil.cocoa.signature instead of objc.signature in dgse.dg_cocoa.
This commit is contained in:
parent
352a21acaa
commit
fb711edeeb
@ -4,7 +4,7 @@
|
|||||||
# which should be included with this package. The terms are also available at
|
# which should be included with this package. The terms are also available at
|
||||||
# http://www.hardcoded.net/licenses/hs_license
|
# http://www.hardcoded.net/licenses/hs_license
|
||||||
|
|
||||||
import objc
|
from hsutil.cocoa import signature
|
||||||
|
|
||||||
from core import scanner
|
from core import scanner
|
||||||
from core.app_cocoa_inter import PyDupeGuruBase
|
from core.app_cocoa_inter import PyDupeGuruBase
|
||||||
@ -38,7 +38,7 @@ class PyDupeGuru(PyDupeGuruBase):
|
|||||||
def setMatchSimilarWords_(self,match_similar_words):
|
def setMatchSimilarWords_(self,match_similar_words):
|
||||||
self.app.scanner.match_similar_words = match_similar_words
|
self.app.scanner.match_similar_words = match_similar_words
|
||||||
|
|
||||||
@objc.signature('v@:i')
|
@signature('v@:i')
|
||||||
def setSizeThreshold_(self, size_threshold):
|
def setSizeThreshold_(self, size_threshold):
|
||||||
self.app.scanner.size_threshold = size_threshold
|
self.app.scanner.size_threshold = size_threshold
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user