aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/NodeView.cpp2
-rw-r--r--wscript2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp
index f87b74a..30df429 100644
--- a/src/gui/NodeView.cpp
+++ b/src/gui/NodeView.cpp
@@ -49,6 +49,7 @@ NodeView::NodeView(Gtk::Window* window,
MachinaCanvas* mcanvas = dynamic_cast<MachinaCanvas*>(&canvas);
if (is(mcanvas->app()->forge(), URIs::instance().machina_initial)) {
set_border_width(4.0);
+ set_is_source(true);
const uint8_t alpha[] = { 0xCE, 0xB1, 0 };
set_label((const char*)alpha);
}
@@ -158,6 +159,7 @@ NodeView::on_property(machina::URIInt key, const Atom& value)
}
} else if (key == URIs::instance().machina_initial) {
set_border_width(value.get<int32_t>() ? 4.0 : 1.0);
+ set_is_source(value.get<int32_t>());
} else if (key == URIs::instance().machina_active) {
if (value.get<int32_t>()) {
if (get_fill_color() != active_color) {
diff --git a/wscript b/wscript
index 5f74608..df1901c 100644
--- a/wscript
+++ b/wscript
@@ -41,7 +41,7 @@ def configure(conf):
autowaf.check_pkg(conf, 'raul', uselib_store='RAUL',
atleast_version='0.5.1', mandatory=True)
autowaf.check_pkg(conf, 'ganv-1', uselib_store='GANV',
- atleast_version='1.0.0', mandatory=False)
+ atleast_version='1.2.1', mandatory=False)
autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
atleast_version='0.2.0', mandatory=False)
autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',