Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.503
diff -u -p -r1.503 theme.inc
--- includes/theme.inc	4 Aug 2009 07:04:21 -0000	1.503
+++ includes/theme.inc	7 Aug 2009 15:27:56 -0000
@@ -259,6 +259,9 @@ function _theme_save_registry($theme, $r
  */
 function drupal_theme_rebuild() {
   cache_clear_all('theme_registry', 'cache', TRUE);
+
+  // Rebuild theme information
+  system_get_theme_data();
 }
 
 /**
