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

[#138] Added ME-specific prioritizations and adjusted ME cocoa proj to the pri dialog.

This commit is contained in:
Virgil Dupras
2011-09-16 12:24:56 -04:00
parent 5a26f1c2ae
commit 664803c2ca
6 changed files with 95 additions and 11 deletions

View File

@@ -10,6 +10,7 @@
from hscommon.util import format_size
from ..data import cmp_value, Column
from .. import prioritize
COLUMNS = [
Column('name', 'Filename'),
@@ -41,4 +42,7 @@ def GetDupeSortKey(dupe, get_group, key, delta):
return r
def GetGroupSortKey(group, key):
return cmp_value(getattr(group.ref, COLUMNS[key].attr))
return cmp_value(getattr(group.ref, COLUMNS[key].attr))
def prioritization_categories():
return prioritize.all_categories()