--- sites/all/modules/privatemsg/privatemsg.theme.inc	2009-11-10 11:48:17.000000000 -0800
+++ sites/all/modules/privatemsg/privatemsg_new.theme.inc	2010-08-03 10:29:11.000000000 -0700
@@ -305,5 +305,23 @@ function theme_privatemsg_new_block($cou
 }
 
 /**
+ * Theme message after bulk operation.
+ */
+function theme_privatemsg_operation($operation, $undo) {
+  if ($operation['callback'] == 'privatemsg_thread_change_status') {
+    if ($operation['label'] == 'Mark as read') {
+      return t('<a href="!undo">Undo Mark as read</a>.', array('!undo' => $undo));
+    }
+    else if ($operation['label'] == 'Mark as unread') {
+      return t('<a href="!undo">Undo Mark as unread</a>.', array('!undo' => $undo));
+    }
+  }
+  else if ($operation['callback'] == 'privatemsg_thread_change_delete') { 
+    return t('<a href="!undo">Undo Delete</a>.', array('!undo' => $undo));
+  }
+  return t('The previous action can be <a href="!undo">undone</a>.', array('!undo' => $undo));
+}
+
+/**
  * @}
  */
