Index: template.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/rootcandy/template.php,v
retrieving revision 1.36.2.32
diff -u -r1.36.2.32 template.php
--- template.php	20 Jun 2009 16:53:25 -0000	1.36.2.32
+++ template.php	30 Jul 2009 11:31:30 -0000
@@ -459,7 +459,9 @@
 }
 
 function rootcandy_system_settings_form($form) {
-  if ($form['#id'] == 'system-theme-settings' AND (arg(4) == 'rootcandy' || arg(4) == 'rootcandy_dark' || arg(4) == 'rootcandy_fixed')) {
+  $themes = list_themes();
+  $enabled_theme = arg(4);
+  if ($form['#id'] == 'system-theme-settings' AND ($enabled_theme == 'rootcandy' || $themes[$enabled_theme]->base_theme == 'rootcandy')) {
 
     foreach ($form['theme_specific']['rows'] as $rid => $row) {
       //we are only interested in numeric keys
