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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user