add another DEBUG_TRACE line
This commit is contained in:
parent
faeaf14e3b
commit
12c81d9a67
@ -170,6 +170,8 @@ PluginScanDialog::plugin_scan_timeout (int timeout)
|
|||||||
void
|
void
|
||||||
PluginScanDialog::message_handler (std::string type, std::string plugin, bool can_cancel)
|
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()) {
|
if (type == X_("closeme") && !is_mapped()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -194,9 +196,11 @@ PluginScanDialog::message_handler (std::string type, std::string plugin, bool ca
|
|||||||
hide();
|
hide();
|
||||||
connections.drop_connections ();
|
connections.drop_connections ();
|
||||||
} else {
|
} else {
|
||||||
|
if (verbose) {
|
||||||
message.set_text (type + ": " + Glib::path_get_basename(plugin));
|
message.set_text (type + ": " + Glib::path_get_basename(plugin));
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!can_cancel || !cancelled) {
|
if (!can_cancel || !cancelled) {
|
||||||
timeout_button.set_sensitive(false);
|
timeout_button.set_sensitive(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user