1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-02-03 20:01:38 +00:00

cocoa: get rid of edition-specific ResultWindow overrides

This commit is contained in:
Virgil Dupras
2016-06-04 21:18:14 -04:00
parent 2be4ae8f65
commit fb8a384a6a
17 changed files with 167 additions and 284 deletions

View File

@@ -6,6 +6,7 @@ from cocoa.inter import PyBaseApp, BaseAppView
class DupeGuruView(BaseAppView):
def askYesNoWithPrompt_(self, prompt: str) -> bool: pass
def showResultsWindow(self): pass
def showProblemDialog(self): pass
def selectDestFolderWithPrompt_(self, prompt: str) -> str: pass
def selectDestFileWithPrompt_extension_(self, prompt: str, extension: str) -> str: pass
@@ -152,10 +153,7 @@ class PyDupeGuruBase(PyBaseApp):
@dontwrap
def show_results_window(self):
# Not needed yet because our progress dialog is shown as a sheet of the results window,
# which causes it to be already visible when the scan/load ends.
# XXX Make progress sheet be a child of the folder selection window.
pass
self.callback.showResultsWindow()
@dontwrap
def show_problem_dialog(self):