Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.608
diff -u -p -r1.608 theme.inc
--- includes/theme.inc	3 Sep 2010 19:49:55 -0000	1.608
+++ includes/theme.inc	4 Sep 2010 06:42:08 -0000
@@ -161,6 +161,17 @@ function _drupal_theme_initialize($theme
     }
   }
 
+  //Remove stylesheets explicitly specify to be remove.
+  if (!empty($theme->stylesheets_remove)) {
+    foreach ($theme->stylesheets_remove as $stylesheet_name) {
+      foreach($final_stylesheets as $media => $stylesheets){
+        if (isset($final_stylesheets[$media][$stylesheet_name])) {
+          unset($final_stylesheets[$media][$stylesheet_name]);
+        }
+      }
+    }
+  }
+
   // And now add the stylesheets properly
   foreach ($final_stylesheets as $media => $stylesheets) {
     foreach ($stylesheets as $stylesheet) {
@@ -603,6 +614,13 @@ function list_themes($refresh = FALSE) {
           $theme->stylesheets[$media][$stylesheet] = $path;
         }
       }
+
+      if (isset($theme->info['stylesheets-remove'])) {
+        foreach ($theme->info['stylesheets-remove'] as $stylesheet) {
+            $theme->stylesheets_remove[$stylesheet] = $stylesheet;
+        }
+      }
+
       foreach ($theme->info['scripts'] as $script => $path) {
         if (file_exists($path)) {
           $theme->scripts[$script] = $path;
