Index: tagadelic.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/tagadelic/tagadelic.module,v
retrieving revision 1.47
diff -u -r1.47 tagadelic.module
--- tagadelic.module	13 Nov 2008 11:44:20 -0000	1.47
+++ tagadelic.module	7 Mar 2009 17:21:48 -0000
@@ -222,7 +222,7 @@
     if (!is_array($vids) || count($vids) == 0) {
       return array();
     }
-    $result = db_query_range('SELECT COUNT(*) AS count, d.tid, d.name, d.vid FROM {term_data} d INNER JOIN {term_node} n ON d.tid = n.tid WHERE d.vid IN ('. substr(str_repeat('%d,', count($vids)), 0, -1) .') GROUP BY d.tid, d.name, d.vid ORDER BY count DESC', $vids, 0, $size);
+    $result = db_query_range('SELECT COUNT(*) AS count, d.tid, d.name, d.vid, d.description FROM {term_data} d INNER JOIN {term_node} n ON d.tid = n.tid WHERE d.vid IN ('. substr(str_repeat('%d,', count($vids)), 0, -1) .') GROUP BY d.tid, d.name, d.vid ORDER BY count DESC', $vids, 0, $size);
     
     $tags = tagadelic_build_weighted_tags($result, $steps);
 
@@ -305,7 +305,14 @@
 function theme_tagadelic_weighted($terms) {
   $output = '';
   foreach ($terms as $term) {
-    $output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level$term->weight", 'rel' => 'tag'))) ." \n";
+    $output .= l($term->name, taxonomy_term_path($term), array(
+      'attributes' => array(
+        'class' => "tagadelic level$term->weight",
+        'rel' => 'tag',
+        'title'  => check_plain($term->description),
+        )
+      )
+    ) ." \n";
   }
   return $output;
 }

