From 72e1a2119baea9690bdea0b729ecbafade2c87ba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Feb 2017 12:56:45 +0100 Subject: Fix filtering by type in plugin selector --- src/gui/GraphBox.cpp | 2 +- src/gui/LoadPluginWindow.cpp | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src/gui') 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 + Copyright 2007-2017 David Robillard 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(); 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); -- cgit v1.2.1