summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_scan_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-10-25 11:54:25 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-25 11:55:42 -0600
commit12c81d9a6706bd9f1b632be029bd12f4b34dcbe6 (patch)
tree6b300e24d9278df64723e1e4974316da77b5d532 /gtk2_ardour/plugin_scan_dialog.cc
parentfaeaf14e3b4b4b7600719e3ffea2e003487add26 (diff)
add another DEBUG_TRACE line
Diffstat (limited to 'gtk2_ardour/plugin_scan_dialog.cc')
-rw-r--r--gtk2_ardour/plugin_scan_dialog.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/plugin_scan_dialog.cc b/gtk2_ardour/plugin_scan_dialog.cc
index bddc5e5d91..67d720045f 100644
--- a/gtk2_ardour/plugin_scan_dialog.cc
+++ b/gtk2_ardour/plugin_scan_dialog.cc
@@ -170,6 +170,8 @@ PluginScanDialog::plugin_scan_timeout (int timeout)
void
PluginScanDialog::message_handler (std::string type, std::string plugin, bool can_cancel)
{
+ DEBUG_TRACE (DEBUG::GuiStartup, string_compose (X_("plugin scan message: %1 cancel? %2\n"), type, can_cancel));
+
if (type == X_("closeme") && !is_mapped()) {
return;
}
@@ -194,8 +196,10 @@ 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));
- show();
+ if (verbose) {
+ message.set_text (type + ": " + Glib::path_get_basename(plugin));
+ show();
+ }
}
if (!can_cancel || !cancelled) {