RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.259
diff -u -p -r1.259 system.admin.inc
--- modules/system/system.admin.inc	15 Feb 2010 15:07:57 -0000	1.259
+++ modules/system/system.admin.inc	24 Feb 2010 22:42:08 -0000
@@ -429,6 +429,8 @@ function system_theme_default() {
       }
       // Set the default theme.
       variable_set('theme_default', $theme);
+      // Rebuild menu items that take the default theme into account.
+      menu_rebuild();
       // The status message depends on whether an admin theme is currently in use:
       // a value of 0 means the admin theme is set to be the default theme.
       $admin_theme = variable_get('admin_theme', 0);
