Index: pmgrowl.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pmgrowl/pmgrowl.install,v
retrieving revision 1.1
diff -u -r1.1 pmgrowl.install
--- pmgrowl.install	21 May 2009 15:43:18 -0000	1.1
+++ pmgrowl.install	22 May 2009 15:08:50 -0000
@@ -47,5 +47,7 @@
  * Implementation of hook_uninstall().
  */
 function pmgrowl_uninstall() {
+  variable_del('pmgrowl_operating_mode');
+  variable_del('pmgrowl_interval');
   drupal_uninstall_schema('pmgrowl');
 }
Index: pmgrowl.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pmgrowl/pmgrowl.module,v
retrieving revision 1.2
diff -u -r1.2 pmgrowl.module
--- pmgrowl.module	21 May 2009 15:43:18 -0000	1.2
+++ pmgrowl.module	22 May 2009 15:40:19 -0000
@@ -18,13 +18,13 @@
  * Implementation of hook_menu().
  */
 function pmgrowl_menu() {
-  $items['admin/settings/pmgrowl'] = array(
-      'title' => 'Private message Growl',
+  $items['admin/settings/messages/pmgrowl'] = array(
+      'title' => 'Growl notifications',
       'description' => 'Change the notification settings for private message alerts',
       'page callback' => 'drupal_get_form',
       'page arguments' => array('pmgrowl_admin_settings'),
       'access arguments' => array('administer site configuration'),
-      'type' => MENU_NORMAL_ITEM,
+      'type' => MENU_LOCAL_TASK,
       );
   $items['messages/pmgrowl_json'] = array(
       'access callback' => 'user_access',
@@ -80,7 +80,7 @@
   while ($row = db_fetch_object($result)) {
     // check the operating mode, and return a message accordingly
     if(variable_get('pmgrowl_operating_mode', 0) == 0) {
-        $row->body = truncate_utf8($row->body, 300, FALSE, TRUE);
+        $row->body = check_markup(truncate_utf8($row->body, 400, FALSE, TRUE));
         $row->body .= '<p>'. l(t('Open & Reply'), 'messages/view/'. $row->thread_id);
         $row->body .= ' | '. l(t('View All'), 'messages') .'</p>';
         $data[] = $row;

