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

Create the extra fairware reminder on-the-fly rather than on launch time.

--HG--
branch : objp
This commit is contained in:
Virgil Dupras
2012-01-15 17:31:15 -05:00
parent baa2177439
commit 1b571f6fd2
6 changed files with 11 additions and 10 deletions

View File

@@ -40,9 +40,6 @@ class PyDupeGuruBase(PyFairware):
def directoryTree(self) -> pyref:
return self.model.directory_tree
def extraFairwareReminder(self) -> pyref:
return self.model.extra_fairware_reminder
def problemDialog(self) -> pyref:
return self.model.problem_dialog

View File

@@ -1,5 +1,6 @@
from objp.util import dontwrap
from objp.util import pyref, dontwrap
from cocoa.inter import PyGUIObject
from core.gui.extra_fairware_reminder import ExtraFairwareReminder
class ExtraFairwareReminderView:
def startTimer(self): pass
@@ -8,6 +9,10 @@ class ExtraFairwareReminderView:
def enableButton(self): pass
class PyExtraFairwareReminder(PyGUIObject):
def __init__(self, app: pyref):
model = ExtraFairwareReminder(app.model)
PyGUIObject.__init__(self, model)
def start(self):
self.model.start()