Index: views/activity.views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/activity/views/Attic/activity.views.inc,v
retrieving revision 1.1.2.10
diff -u -p -b -r1.1.2.10 activity.views.inc
--- views/activity.views.inc	18 Jun 2009 18:48:41 -0000	1.1.2.10
+++ views/activity.views.inc	16 Jul 2009 20:52:51 -0000
@@ -20,6 +20,12 @@ function activity_views_data() {
   $data['activity']['uid'] = array(
     'title' => t('Activity Actor'),
     'help' => t('The ID of the person who recorded the activity'),
+    'relationship' => array(
+      'base' => 'users',
+      'field' => 'uid',
+      'handler' => 'views_handler_relationship',
+      'label' => t('User'),
+    ),
     'argument' => array(
       'handler' => 'views_handler_argument_user_uid',
     ),
@@ -60,6 +66,16 @@ function activity_views_data() {
       'handler' => 'views_handler_argument_string',
     ),
   );
+  $data['activity']['nid'] = array(
+    'title' => t('Node'),
+    'help' => t('The node the activity relates to.'),
+    'relationship' => array(
+      'base' => 'node',
+      'field' => 'nid',
+      'handler' => 'views_handler_relationship',
+      'label' => t('Node'),
+    ),
+  );
   $data['activity']['created'] = array(
     'title' => t('Activity Creation Date'),
     'help' => t('The time that the activity was created'),
