summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@ACER-SUSE.SUSE>2008-03-04 22:54:03 +0900
committerSam Spilsbury <Sam@ACER-SUSE.SUSE>2008-03-04 22:54:03 +0900
commite0ef7e42ea4ae1106d6f08997db27239660cb15f (patch)
tree958fdb2a31a104499165a6724c52878e1f738fb4
parente2c614b5bec163d39289254af597e28ad8e3b7c6 (diff)
downloadcompiz-tools-e0ef7e42ea4ae1106d6f08997db27239660cb15f.tar.gz
compiz-tools-e0ef7e42ea4ae1106d6f08997db27239660cb15f.tar.bz2
* Fix crash on startup (Adapt for new CCSM ABI)
-rwxr-xr-xCompiz-Fusion-Preferences/compiz-fusion-settings.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiz-Fusion-Preferences/compiz-fusion-settings.in b/Compiz-Fusion-Preferences/compiz-fusion-settings.in
index 8525d50..8897b07 100755
--- a/Compiz-Fusion-Preferences/compiz-fusion-settings.in
+++ b/Compiz-Fusion-Preferences/compiz-fusion-settings.in
@@ -927,7 +927,7 @@ class Base:
for boxName, settingName in boxes.items():
box = self.gladefile.get_widget(boxName)
setting = plugin.Screens[0][settingName]
- items = sorted(setting.Info[1][2].items(), ccm.EnumSettingSortCompare)
+ items = sorted(setting.Info[1][2].items(), key=ccm.EnumSettingKeyFunc)
self.SetupBoxModel(box)
for key, value in items:
box.append_text(key)