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:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user