From c4bc3b00d2da3f3ea167ae391060fa0dda4a820d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 8 Oct 2020 15:26:10 +0200 Subject: [PATCH] Plugin-scan: display module/bundle name without file extension --- gtk2_ardour/plugin_scan_dialog.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/plugin_scan_dialog.cc b/gtk2_ardour/plugin_scan_dialog.cc index a3ba2c16c8..377b45f81c 100644 --- a/gtk2_ardour/plugin_scan_dialog.cc +++ b/gtk2_ardour/plugin_scan_dialog.cc @@ -24,6 +24,8 @@ #include +#include "pbd/basename.h" + #include "ardour/plugin_manager.h" #include "ardour_ui.h" @@ -201,7 +203,7 @@ PluginScanDialog::message_handler (std::string type, std::string plugin, bool ca hide(); connections.drop_connections (); } else { - message.set_text (type + ": " + Glib::path_get_basename(plugin)); + message.set_text (type + ": " + PBD::basename_nosuffix (plugin)); show(); }