Index: token.tokens.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/token/token.tokens.inc,v
retrieving revision 1.13
diff -u -p -r1.13 token.tokens.inc
--- token.tokens.inc	16 Sep 2010 21:16:59 -0000	1.13
+++ token.tokens.inc	19 Sep 2010 18:42:00 -0000
@@ -195,6 +195,10 @@ function token_tokens($type, $tokens, ar
             $replacements[$original] = $sanitize ? check_plain($parent['title']) : $parent['title'];
           }
           break;
+        case 'root';
+          if (!empty($link['p1']) && $root = menu_link_load($link['p1'])) {
+            $replacements[$original] = $sanitize ? check_plain($root['title']) : $root['title'];
+          }
       }
     }
 
@@ -202,6 +206,9 @@ function token_tokens($type, $tokens, ar
     if (!empty($link['plid']) && ($parent = menu_link_load($link['plid'])) && $source_tokens = token_find_with_prefix($tokens, 'parent')) {
       $replacements += token_generate('menu-link', $source_tokens, array('menu-link' => $parent), $options);
     }
+    if (!empty($link['p1']) && ($root = menu_link_load($link['p1'])) && $root_tokens = token_find_with_prefix($tokens, 'root')) {
+      $replacements += token_generate('menu-link', $source_tokens, array('menu-link' => $root), $options);
+    }
   }
 
   // Current page tokens.
