Index: modules/update/update.compare.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/update/update.compare.inc,v
retrieving revision 1.30
diff -u -p -r1.30 update.compare.inc
--- modules/update/update.compare.inc	27 Sep 2009 00:15:28 -0000	1.30
+++ modules/update/update.compare.inc	28 Sep 2009 12:57:25 -0000
@@ -180,12 +180,7 @@ function update_get_project_name($file) 
   if (isset($file->info['project'])) {
     $project_name = $file->info['project'];
   }
-  elseif (isset($file->info['package']) && (strpos($file->info['package'], 'Core') !== FALSE)) {
-    $project_name = 'drupal';
-  }
-  elseif (in_array($file->name, array('garland', 'minnelli', 'stark'))) {
-    // Unfortunately, there's no way to tell if a theme is part of core,
-    // so we must hard-code a list here.
+  elseif (isset($file->info['package']) && (strpos($file->info['package'], 'Core') === 0)) {
     $project_name = 'drupal';
   }
   return $project_name;
Index: themes/garland/garland.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/garland.info,v
retrieving revision 1.7
diff -u -p -r1.7 garland.info
--- themes/garland/garland.info	11 Aug 2009 12:27:37 -0000	1.7
+++ themes/garland/garland.info	28 Sep 2009 12:57:25 -0000
@@ -1,6 +1,7 @@
 ; $Id: garland.info,v 1.7 2009/08/11 12:27:37 dries Exp $
 name = Garland
 description = Tableless, recolorable, multi-column, fluid width theme.
+package = Core
 version = VERSION
 core = 7.x
 engine = phptemplate
Index: themes/garland/minnelli/minnelli.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/minnelli/minnelli.info,v
retrieving revision 1.8
diff -u -p -r1.8 minnelli.info
--- themes/garland/minnelli/minnelli.info	18 Feb 2008 19:19:49 -0000	1.8
+++ themes/garland/minnelli/minnelli.info	28 Sep 2009 12:57:25 -0000
@@ -1,6 +1,7 @@
 ; $Id: minnelli.info,v 1.8 2008/02/18 19:19:49 dries Exp $
 name = Minnelli
 description = Tableless, recolorable, multi-column, fixed width theme.
+package = Core
 version = VERSION
 core = 7.x
 base theme = garland
Index: themes/seven/seven.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/seven.info,v
retrieving revision 1.1
diff -u -p -r1.1 seven.info
--- themes/seven/seven.info	31 Jul 2009 19:35:57 -0000	1.1
+++ themes/seven/seven.info	28 Sep 2009 12:57:25 -0000
@@ -1,6 +1,7 @@
 ; $Id: seven.info,v 1.1 2009/07/31 19:35:57 dries Exp $
 name = Seven
 description = A simple one-column, tableless, fluid width administration theme.
+package = Core
 core = 7.x
 version = VERSION
 engine = phptemplate
Index: themes/stark/stark.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/stark/stark.info,v
retrieving revision 1.1
diff -u -p -r1.1 stark.info
--- themes/stark/stark.info	30 Jan 2009 23:06:23 -0000	1.1
+++ themes/stark/stark.info	28 Sep 2009 12:57:25 -0000
@@ -2,6 +2,7 @@
 
 name = Stark
 description = This theme demonstrates Drupal's default HTML markup and CSS styles. To learn how to build your own theme and override Drupal's default code, you should start reading the <a href="http://drupal.org/theme-guide">Theming Guide</a>.
+package = Core
 version = VERSION
 core = 7.x
 engine = phptemplate
