diff options
author | David Robillard <d@drobilla.net> | 2017-02-26 12:56:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-26 12:56:45 +0100 |
commit | 72e1a2119baea9690bdea0b729ecbafade2c87ba (patch) | |
tree | c465325eaf9d9a0f800a7e2dbfb5a58692053ed2 /src/gui | |
parent | 1c9ac012b8a8db6e2221f2fa64afb3fc0dbf90d9 (diff) | |
download | ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.tar.gz ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.tar.bz2 ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.zip |
Fix filtering by type in plugin selector
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/GraphBox.cpp | 2 | ||||
-rw-r--r-- | src/gui/LoadPluginWindow.cpp | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index f48cffa7..82861a88 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -444,7 +444,7 @@ GraphBox::show_port_status(const PortModel* port, const Atom& value) } if (value.is_valid()) { - msg << " = " << _app->forge().str(value); + msg << " = " << _app->forge().str(value, true); } _status_bar->pop(STATUS_CONTEXT_HOVER); diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index 3d6927cb..2c0d1b63 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2017 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -450,7 +450,11 @@ LoadPluginWindow::filter_changed() field = name.ptr<char>(); break; case CriteriaColumns::Criteria::TYPE: - field = plugin->type_uri(); + if (plugin->lilv_plugin()) { + field = lilv_node_as_string( + lilv_plugin_class_get_label( + lilv_plugin_get_class(plugin->lilv_plugin()))); + } break; case CriteriaColumns::Criteria::PROJECT: field = get_project_name(plugin); |