From fb711edeeb7edbb1844bab896859624e64a50429 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 4 Feb 2010 13:20:38 +0100 Subject: [PATCH] Use hsutil.cocoa.signature instead of objc.signature in dgse.dg_cocoa. --- cocoa/se/dg_cocoa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocoa/se/dg_cocoa.py b/cocoa/se/dg_cocoa.py index 779041f5..bf19d2dc 100644 --- a/cocoa/se/dg_cocoa.py +++ b/cocoa/se/dg_cocoa.py @@ -4,7 +4,7 @@ # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licenses/hs_license -import objc +from hsutil.cocoa import signature from core import scanner from core.app_cocoa_inter import PyDupeGuruBase @@ -38,7 +38,7 @@ class PyDupeGuru(PyDupeGuruBase): def setMatchSimilarWords_(self,match_similar_words): self.app.scanner.match_similar_words = match_similar_words - @objc.signature('v@:i') + @signature('v@:i') def setSizeThreshold_(self, size_threshold): self.app.scanner.size_threshold = size_threshold