mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Removed MatchesView and took advantage of HSOutlineView's delete and space triggered delegate methods.
This commit is contained in:
@@ -275,7 +275,7 @@ class DupeGuru(RegistrableApplication, Broadcaster):
|
||||
pass
|
||||
|
||||
def remove_duplicates(self, duplicates):
|
||||
self.results.remove_duplicates(duplicates)
|
||||
self.results.remove_duplicates(self.without_ref(duplicates))
|
||||
self.notify('results_changed')
|
||||
|
||||
def remove_marked(self):
|
||||
|
||||
@@ -87,9 +87,6 @@ class PyDupeGuruBase(PyRegistrable):
|
||||
def removeMarked(self):
|
||||
self.py.remove_marked()
|
||||
|
||||
def removeSelected(self):
|
||||
self.py.remove_selected()
|
||||
|
||||
def renameSelected_(self,newname):
|
||||
return self.py.rename_selected(newname)
|
||||
|
||||
@@ -182,6 +179,9 @@ class PyResultOutline(PyOutline):
|
||||
def markSelected(self):
|
||||
self.py.app.toggle_selected_mark_state()
|
||||
|
||||
def removeSelected(self):
|
||||
self.py.app.remove_selected()
|
||||
|
||||
def rootChildrenCounts(self):
|
||||
return self.py.root_children_counts()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user