=== modified file 'modules/aggregator/aggregator.module'
--- modules/aggregator/aggregator.module	2007-09-13 08:02:38 +0000
+++ modules/aggregator/aggregator.module	2007-10-05 05:42:36 +0000
@@ -353,15 +353,33 @@ function aggregator_block($op = 'list', 
  * Add/edit/delete aggregator categories.
  */
 function aggregator_save_category($edit) {
-  if (!empty($edit['cid']) && !empty($edit['title'])) {
-    db_query("UPDATE {aggregator_category} SET title = '%s', description = '%s' WHERE cid = %d", $edit['title'], $edit['description'], $edit['cid']);
-  }
-  else if (!empty($edit['cid'])) {
-    db_query('DELETE FROM {aggregator_category} WHERE cid = %d', $edit['cid']);
+  $path = 'aggregator/categories/';
+  if (!empty($edit['cid'])) {
+    $mlid = db_result(db_query("SELECT mlid FROM {menu_links} WHERE customized = 0 AND link_path = '%s'", $path . $edit['cid']));
+    $menu_link = menu_link_load($mlid);
+    if (!empty($edit['title'])) {
+      db_query("UPDATE {aggregator_category} SET title = '%s', description = '%s' WHERE cid = %d", $edit['title'], $edit['description'], $edit['cid']);
+      if ($menu_link) {
+        $menu_link['link_title'] = $edit['title'];
+        menu_link_save($menu_link);
+      }
+    }
+    else {
+      db_query('DELETE FROM {aggregator_category} WHERE cid = %d', $edit['cid']);
+      if ($menu_link) {
+        menu_link_delete($menu_link['cid']);
+      }
+    }
   }
   else if (!empty($edit['title'])) {
     // A single unique id for bundles and feeds, to use in blocks
     db_query("INSERT INTO {aggregator_category} (title, description, block) VALUES ('%s', '%s', 5)", $edit['title'], $edit['description']);
+    $cid = db_last_insert_id('aggregator', 'cid');
+    $menu_link = array(
+      'link_title' => $edit['title'],
+      'link_path' => $path . $cid,
+    );
+    menu_link_save($menu_link);
   }
 }
 

=== modified file 'modules/aggregator/aggregator.pages.inc'
--- modules/aggregator/aggregator.pages.inc	2007-10-02 16:03:17 +0000
+++ modules/aggregator/aggregator.pages.inc	2007-10-05 05:42:36 +0000
@@ -39,6 +39,7 @@ function aggregator_page_source($arg1, $
  * Menu callback; displays all the items aggregated in a particular category.
  */
 function aggregator_page_category($arg1, $arg2 = NULL) {
+  drupal_set_breadcrumb(array_merge(drupal_get_breadcrumb(), array(l(t('Categories'), 'aggregator/categories'))));
   // If there are two arguments then we are called as a form, $arg1 is
   // $form_state and $arg2 is $category. Otherwise, $arg1 is $category.
   $category = is_array($arg2) ? $arg2 : $arg1;

