Index: controlpanel.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/controlpanel/controlpanel.module,v
retrieving revision 1.2
diff -u -r1.2 controlpanel.module
--- controlpanel.module	30 Sep 2005 20:45:55 -0000	1.2
+++ controlpanel.module	1 Oct 2005 10:50:34 -0000
@@ -72,7 +72,6 @@
   if (isset($menu_visible[$pid]) && $menu_visible[$pid]['children']) {
     foreach ($menu_visible[$pid]['children'] as $mid) {
       $content .= '<div class="control-panel-item control-panel-icon-size-' . variable_get('controlpanel_icon_size', '36x36') . '">';
-      $content .= '<a href=' . $menu_visible[$mid]['path'] . '>';
       $file_name = $image_directory . '/' . str_replace('/', '_', $menu_visible[$mid]['path']) . '.png'; 
       if (file_exists($file_name)) {
         $src = $file_name;
@@ -81,7 +80,7 @@
       }
       $content .= '<div>';
       $content .= '<img src=' . $src . '>';
-      $content .= '<br>' . $menu_visible[$mid]['title'];
+      $content .= menu_item_link($mid);
       $content .= '</div>';
       $content .= '</a>';
       $content .= '</div>';
