summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-09 03:05:13 +0000
committerDavid Robillard <d@drobilla.net>2013-01-09 03:05:13 +0000
commit67067320cb53f3c84bb7901e446f3d1798667e57 (patch)
treeefaf94976fbef5f7ed9843bcd8056ee3289167ea /src/gui/NodeModule.cpp
parent19b6f2d1c1e8ddcc52b45b4a2c17d4f0317ceabc (diff)
downloadingen-67067320cb53f3c84bb7901e446f3d1798667e57.tar.gz
ingen-67067320cb53f3c84bb7901e446f3d1798667e57.tar.bz2
ingen-67067320cb53f3c84bb7901e446f3d1798667e57.zip
Load internal plugin data files and rework documentation code to work the same as LV2 plugins (fix #671).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4910 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 5542bef6..1409368e 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -41,6 +41,7 @@
#include "SubgraphModule.hpp"
#include "WidgetFactory.hpp"
#include "WindowFactory.hpp"
+#include "ingen_config.h"
using namespace std;
@@ -441,9 +442,12 @@ NodeModule::on_selected(gboolean selected)
if (selected && win->documentation_is_visible()) {
GraphWindow* win = app().window_factory()->parent_graph_window(block());
std::string doc;
- bool html = false;
+ bool html = false;
+#ifdef HAVE_WEBKIT
+ html = true;
+#endif
if (block()->plugin_model()) {
- doc = block()->plugin_model()->documentation(&html);
+ doc = block()->plugin_model()->documentation(html);
}
win->set_documentation(doc, html);
}