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

Pushed some action confirmation logic down from GUI layers to the core.

This commit is contained in:
Virgil Dupras
2012-03-10 10:58:08 -05:00
parent ef0a66f794
commit cd9f54163b
27 changed files with 1178 additions and 1329 deletions

View File

@@ -56,7 +56,7 @@ class PyDupeGuruBase(PyFairware):
#---Results
def clearIgnoreList(self):
self.model.scanner.ignore_list.Clear()
self.model.clear_ignore_list()
def doScan(self):
self.model.start_scanning()
@@ -116,16 +116,16 @@ class PyDupeGuruBase(PyFairware):
def removeMarked(self):
self.model.remove_marked()
def removeSelected(self):
self.model.remove_selected()
def revealSelected(self):
self.model.reveal_selected()
def invokeCommand_(self, cmd: str):
self.model.invoke_command(cmd)
def invokeCustomCommand(self):
self.model.invoke_custom_command()
#---Information
def getIgnoreListCount(self) -> int:
return len(self.model.scanner.ignore_list)
def getMarkCount(self) -> int:
return self.model.results.mark_count