summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Niklaus <marex@opencompositing.org>2007-06-03 16:43:16 +0200
committerPatrick Niklaus <marex@opencompositing.org>2007-06-03 16:43:16 +0200
commit0b4a7cf79a3a5b3e2cfecc8bf9255af62f2c1843 (patch)
tree162404eaed26686963a072a31479aec44f10c376
parentca2d2a150ce917193d63d98b93209d837ea2bde8 (diff)
downloadccsm-0b4a7cf79a3a5b3e2cfecc8bf9255af62f2c1843.tar.gz
ccsm-0b4a7cf79a3a5b3e2cfecc8bf9255af62f2c1843.tar.bz2
Removed some unfinished code I accidentally committed
-rwxr-xr-xccsm.in17
1 files changed, 0 insertions, 17 deletions
diff --git a/ccsm.in b/ccsm.in
index 1ee628b..b09f471 100755
--- a/ccsm.in
+++ b/ccsm.in
@@ -546,15 +546,6 @@ def SettingSortCompare(v1, v2):
else:
return cmp(v1.ShortDesc, v2.ShortDesc)
-def HasOnlyType(subGroup, type):
- empty = True
- for setting in sum((v.values() for v in [subGroup.Display]+[subGroup.Screens[CurrentScreenNum]]), []):
- if not setting.Name == '____plugin_enabled':
- empty = False
- if setting.Type != type:
- return False
- return not empty
-
class SubGroupArea:
def __init__(self, name, subGroup):
if name == '':
@@ -567,14 +558,6 @@ class SubGroupArea:
self.Expander.set_expanded(False)
self.Child = gtk.Table()
self.Expander.add(self.Child)
-
- # create a special widget for list subGroups
- if HasOnlyType(subGroup, 'List'):
- multiList = MultiListSetting(subGroup)
- multiList.attach(self.Child)
- self.Empty = False
-
- return # exit earlier to avoid unneeded logic's
self.Empty = True
row = 0