summaryrefslogtreecommitdiff
path: root/graphics/paraview/011_doc_path.diff
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/paraview/011_doc_path.diff')
-rw-r--r--graphics/paraview/011_doc_path.diff49
1 files changed, 3 insertions, 46 deletions
diff --git a/graphics/paraview/011_doc_path.diff b/graphics/paraview/011_doc_path.diff
index 44250005f5..3b49cc11ec 100644
--- a/graphics/paraview/011_doc_path.diff
+++ b/graphics/paraview/011_doc_path.diff
@@ -1,6 +1,6 @@
---- ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx.orig 2018-04-07 06:03:33.000000000 +1000
-+++ ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx 2018-04-09 22:02:03.621998659 +1000
-@@ -1238,7 +1238,8 @@
+--- ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx.orig 2018-11-07 05:03:24.000000000 +1000
++++ ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx 2018-11-23 18:17:38.214000000 +1000
+@@ -1227,7 +1227,8 @@
//-----------------------------------------------------------------------------
std::string vtkPVFileInformation::GetParaViewDocDirectory()
{
@@ -10,46 +10,3 @@
}
//-----------------------------------------------------------------------------
---- Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx.orig 2018-04-07 06:03:33.000000000 +1000
-+++ Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx 2018-04-10 10:03:16.737203216 +1000
-@@ -464,6 +464,7 @@
- (menu.addAction(QIcon(":/pqWidgets/Icons/pdf.png"), "Getting Started with ParaView")
- << pqSetName("actionGettingStarted")));
-
-+/* Original
- // ParaView Guide
- QAction* guide = menu.addAction(QIcon(":/pqWidgets/Icons/pdf.png"), "ParaView Guide");
- guide->setObjectName("actionGuide");
-@@ -472,6 +473,12 @@
- "download.php?submit=Download&version=v5.5&type=binary&os="
- "Sources&downloadFile=ParaViewGuide-5.5.0.pdf"),
- guide);
-+*/
-+/* Now use local Guide */
-+ QString paraViewGuideFile = documentationPath + "/Guide.pdf";
-+ new pqDesktopServicesReaction(QUrl::fromLocalFile(paraViewGuideFile),
-+ (menu.addAction(QIcon(":/pqWidgets/Icons/pdf.png"), "ParaView Guide")
-+ << pqSetName("actionGuide")));
-
- #ifdef PARAVIEW_USE_QTHELP
- // Help
-@@ -482,12 +489,19 @@
- // -----------------
- menu.addSeparator();
-
-+/* Originally
- // ParaView Tutorial notes
- new pqDesktopServicesReaction(QUrl("https://www.paraview.org/paraview-downloads/"
- "download.php?submit=Download&version=v5.5&type=binary&os="
- "Sources&downloadFile=ParaViewTutorial.pdf"),
- (menu.addAction(QIcon(":/pqWidgets/Icons/pdf.png"), "ParaView Tutorial")
- << pqSetName("actionTutorialNotes")));
-+*/
-+/* Now use local Tutorial */
-+ QString paraTutorialFile = documentationPath + "/Tutorial.pdf";
-+ new pqDesktopServicesReaction(QUrl::fromLocalFile(paraTutorialFile),
-+ (menu.addAction(QIcon(":/pqWidgets/Icons/pdf.png"), "ParaView Tutorial")
-+ << pqSetName("actionTutorial")));
-
- // Sandia National Labs Tutorials
- new pqDesktopServicesReaction(QUrl("http://www.paraview.org/Wiki/SNL_ParaView_4_Tutorials"),