1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Got rid of some code duplication in Cocoa interface.

This commit is contained in:
Virgil Dupras
2011-09-21 10:35:34 -04:00
parent 70689ce057
commit e21627bbde
7 changed files with 11 additions and 15 deletions

View File

@@ -180,6 +180,10 @@ class PyDupeGuruBase(PyFairware):
def jobCompleted_(self, jobid):
self.py._job_completed(jobid)
#---Registration
def appName(self):
return self.py.NAME
#--- model --> view
def open_path(self, path):
NSWorkspace.sharedWorkspace().openFile_(str(path))