summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Niklaus <marex@opencompositing.org>2007-06-11 17:42:21 +0200
committerPatrick Niklaus <marex@opencompositing.org>2007-06-11 17:42:21 +0200
commita6f541645427be433a15720aadc8bbda272df321 (patch)
tree5c13bee8bc70a29592871782389a269033b855b0
parent3af2290fe3d935da7a895b0947bacaa3d146aeb9 (diff)
downloadccsm-a6f541645427be433a15720aadc8bbda272df321.tar.gz
ccsm-a6f541645427be433a15720aadc8bbda272df321.tar.bz2
Added ranking for actions
-rwxr-xr-xccsm.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ccsm.in b/ccsm.in
index e7c1bdb..b44b48e 100755
--- a/ccsm.in
+++ b/ccsm.in
@@ -1097,7 +1097,8 @@ class ActionPage:
self.Plugins[pluginName][groupName][subGroupName] = {}
subGroupEmpty = True
- settings = FilterSettings(sum((v.values() for v in [subGroup.Display]+[subGroup.Screens[CurrentScreenNum]]), []), self.Filter)
+ settings = sum((v.values() for v in [subGroup.Display]+[subGroup.Screens[CurrentScreenNum]]), [])
+ setting = sorted(FilterSettings(settings, self.Filter), SettingSortCompare)
for setting in settings:
if setting.Type == 'Action':
if subGroupName != '':