diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-08 08:56:13 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-08 08:56:13 +0000 |
commit | 7c74bb221c104b24992e2e3b9949547941e1f0e2 (patch) | |
tree | df8c42f0a94250cb4024b04ac1a4275bb82b128d /sci-visualization/qtiplot/files/qtiplot-0.9.7.3-no-python.patch | |
parent | Removed old versions (diff) | |
download | historical-7c74bb221c104b24992e2e3b9949547941e1f0e2.tar.gz historical-7c74bb221c104b24992e2e3b9949547941e1f0e2.tar.bz2 historical-7c74bb221c104b24992e2e3b9949547941e1f0e2.zip |
Removed old patches
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization/qtiplot/files/qtiplot-0.9.7.3-no-python.patch')
-rw-r--r-- | sci-visualization/qtiplot/files/qtiplot-0.9.7.3-no-python.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.3-no-python.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.3-no-python.patch deleted file mode 100644 index 841ac78df38e..000000000000 --- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.3-no-python.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -Naur qtiplot-0.9.7.3/qtiplot/src/scripting/ScriptEdit.cpp qtiplot-0.9.7.3.new/qtiplot/src/scripting/ScriptEdit.cpp ---- qtiplot-0.9.7.3/qtiplot/src/scripting/ScriptEdit.cpp 2008-10-20 11:59:25.000000000 -0400 -+++ qtiplot-0.9.7.3.new/qtiplot/src/scripting/ScriptEdit.cpp 2008-11-13 09:10:48.000000000 -0500 -@@ -28,7 +28,11 @@ - ***************************************************************************/ - #include "ScriptEdit.h" - #include "Note.h" -+ -+#ifdef SCRIPTING_PYTHON - #include "PythonSyntaxHighlighter.h" -+#endif -+ - #include "FindReplaceDialog.h" - - #include <QAction> -@@ -58,9 +62,11 @@ - setTextFormat(Qt::PlainText); - setAcceptRichText (false); - -+#ifdef SCRIPTING_PYTHON - if (scriptEnv->name() == QString("Python")) - d_highlighter = new PythonSyntaxHighlighter(this); -- -+#endif -+ - d_fmt_default.setBackground(palette().brush(QPalette::Base)); - d_fmt_failure.setBackground(QBrush(QColor(255,128,128))); - -@@ -142,6 +148,7 @@ - connect(myScript, SIGNAL(error(const QString&, const QString&, int)), this, SLOT(insertErrorMsg(const QString&))); - connect(myScript, SIGNAL(print(const QString&)), this, SLOT(scriptPrint(const QString&))); - -+#ifdef SCRIPTING_PYTHON - if (scriptEnv->name() == QString("Python") && !d_highlighter) - d_highlighter = new PythonSyntaxHighlighter(this); - else { -@@ -149,6 +156,7 @@ - delete d_highlighter; - d_highlighter = 0; - } -+#endif - } - } -
-@@ -585,13 +593,16 @@ - - void ScriptEdit::rehighlight() - { -+#ifdef SCRIPTING_PYTHON - if (scriptEnv->name() != QString("Python")) - return; -- -+#endif - if (d_highlighter) - delete d_highlighter; - -+#ifdef SCRIPTING_PYTHON - d_highlighter = new PythonSyntaxHighlighter(this); -+#endif - } - - void ScriptEdit::showFindDialog(bool replace) |