aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-08-09 10:17:04 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-08-09 10:17:04 +0200
commit9f8c376292e0ae37b38e7356a6fef09c7187a687 (patch)
treef4d9b9a9ec8bb4b73e970c9a1dd055d5c7e667d5
parentb35f1f26acb91dfc406fb97055779e086ae9012a (diff)
downloadsynthpod-9f8c376292e0ae37b38e7356a6fef09c7187a687.zip
synthpod-9f8c376292e0ae37b38e7356a6fef09c7187a687.tar.gz
synthpod-9f8c376292e0ae37b38e7356a6fef09c7187a687.tar.bz2
synthpod-9f8c376292e0ae37b38e7356a6fef09c7187a687.tar.xz
d2tk: use link widget for lilv uris.
-rw-r--r--VERSION2
-rw-r--r--plugins/synthpod_common_d2tk.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 026d506..5930029 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.6117
+0.1.6127
diff --git a/plugins/synthpod_common_d2tk.c b/plugins/synthpod_common_d2tk.c
index 7bf72b2..0cea2eb 100644
--- a/plugins/synthpod_common_d2tk.c
+++ b/plugins/synthpod_common_d2tk.c
@@ -455,9 +455,9 @@ _expose_plugin_property(d2tk_base_t *base, unsigned idx, const char *key,
{
if(lilv_node_is_uri(node))
{
- if(d2tk_base_button_label_is_changed(base, D2TK_ID_IDX(idx),
- -1, lilv_node_as_uri(node),
- D2TK_ALIGN_MIDDLE | D2TK_ALIGN_LEFT, hrect))
+ if(d2tk_base_link_is_changed(base, D2TK_ID_IDX(idx),
+ -1, lilv_node_as_uri(node), 1.f, hrect,
+ D2TK_ALIGN_MIDDLE | D2TK_ALIGN_LEFT))
{
_xdg_open(node);
}