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

[#138] Completed re-prioritization workflow, now all that is needed is to add more criteria, handle corner case and build the GUI for it.

This commit is contained in:
Virgil Dupras
2011-09-08 12:36:57 -04:00
parent 518228a368
commit 9c30486f14
4 changed files with 42 additions and 4 deletions

View File

@@ -353,6 +353,11 @@ class DupeGuru(RegistrableApplication, Broadcaster):
logging.warning("dupeGuru Warning: %s" % str(e))
return False
def reprioritize_groups(self, sort_key):
for group in self.results.groups:
group.prioritize(key_func=sort_key)
self._results_changed()
def reveal_selected(self):
if self.selected_dupes:
self._reveal_path(self.selected_dupes[0].path)