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

Converted PyStatsLabel to a core instance mode.

--HG--
branch : objp
This commit is contained in:
Virgil Dupras
2012-01-09 11:15:20 -05:00
parent f636333938
commit 989026051c
7 changed files with 18 additions and 15 deletions

View File

@@ -8,6 +8,7 @@ from hscommon.trans import trget
from core.app import JobType
from .result_table import PyResultTable
from .stats_label import PyStatsLabel
tr = trget('ui')
@@ -31,6 +32,7 @@ class PyDupeGuruBase(PyFairware):
self.cocoa = cocoa
resultTable = subproxy('resultTable', 'result_table', PyResultTable)
statsLabel = subproxy('statsLabel', 'stats_label', PyStatsLabel)
#---Directories
def addDirectory_(self, directory):

View File

@@ -1,9 +1,5 @@
from cocoa.inter import PyGUIObject
from core.gui.stats_label import StatsLabel
class PyStatsLabel(PyGUIObject):
py_class = StatsLabel
def display(self):
return self.py.display