Index: modules/dashboard/dashboard.module =================================================================== RCS file: /cvs/drupal/drupal/modules/dashboard/dashboard.module,v retrieving revision 1.24 diff -u -p -r1.24 dashboard.module --- modules/dashboard/dashboard.module 28 Mar 2010 11:29:27 -0000 1.24 +++ modules/dashboard/dashboard.module 2 Apr 2010 04:10:42 -0000 @@ -174,9 +174,10 @@ function dashboard_permission() { function dashboard_system_info_alter(&$info, $file, $type) { if ($type == 'theme') { $info['regions'] += dashboard_region_descriptions(); - if (module_exists('overlay')) { - $info['overlay_regions'] = !empty($info['overlay_regions']) ? array_merge($info['overlay_regions'], dashboard_regions()) : dashboard_regions(); - } + // Indicate that these regions are intended to be displayed whenever the + // dashboard is displayed in an overlay. This information is provided for + // any module that might need to use it, not just the core Overlay module. + $info['overlay_regions'] = !empty($info['overlay_regions']) ? array_merge($info['overlay_regions'], dashboard_regions()) : dashboard_regions(); } } Index: modules/toolbar/toolbar.module =================================================================== RCS file: /cvs/drupal/drupal/modules/toolbar/toolbar.module,v retrieving revision 1.35 diff -u -p -r1.35 toolbar.module --- modules/toolbar/toolbar.module 10 Mar 2010 14:46:23 -0000 1.35 +++ modules/toolbar/toolbar.module 2 Apr 2010 04:10:42 -0000 @@ -153,12 +153,15 @@ function toolbar_preprocess_html(&$vars) /** * Implements hook_system_info_alter(). * - * If the overlay module is enabled, indicate that the 'page_top' region (in - * which the toolbar will be displayed) is one of the overlay supplemental - * regions that should be refreshed whenever its content is updated. + * Indicate that the 'page_top' region (in which the toolbar will be displayed) + * is an overlay supplemental region that should be refreshed whenever its + * content is updated. + * + * This information is provided for any module that might need to use it, not + * just the core Overlay module. */ function toolbar_system_info_alter(&$info, $file, $type) { - if (module_exists('overlay') && $type == 'theme') { + if ($type == 'theme') { $info['overlay_supplemental_regions'][] = 'page_top'; } }