? views-attach-display-profile-view.tpl.php
? views_attach_display.patch
Index: views_attach.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_attach/Attic/views_attach.theme.inc,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 views_attach.theme.inc
--- views_attach.theme.inc	27 May 2009 18:50:23 -0000	1.1.2.1
+++ views_attach.theme.inc	2 Jun 2009 19:10:53 -0000
@@ -8,3 +8,12 @@ function template_preprocess_views_attac
     $vars['title'] = filter_xss_admin($view->get_title());
   }
 }
+
+function template_preprocess_views_attach_display_profile_view(&$vars) {
+  template_preprocess_views_view($vars);
+  $view = $vars['view'];
+  $display = $view->display_handler;
+  if ($display->get_option('show_title')) {
+    $vars['title'] = filter_xss_admin($view->get_title());
+  }
+}
\ No newline at end of file
Index: views_attach.views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_attach/views_attach.views.inc,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 views_attach.views.inc
--- views_attach.views.inc	27 May 2009 18:28:03 -0000	1.1.2.1
+++ views_attach.views.inc	2 Jun 2009 19:10:53 -0000
@@ -11,7 +11,8 @@ function views_attach_views_plugins() {
         'title' => t('Profile'),
         'help' => t('Display the view as a part of a user profile.'),
         'handler' => 'views_attach_plugin_display_profile',
-        'theme' => 'views_view',
+        'theme' => 'views_attach_display_profile_view',
+        'theme file' => 'views_attach.theme.inc',
         'uses hook user' => TRUE,
         'use ajax' => TRUE,
         'use pager' => TRUE,
