Add additional PBD::string_to/to_string specializations for PBD::ID
[ardour.git] / libs / pbd / base_ui.cc
index c56fb8f4fe33eeaa1a5fe15fbcb0f259a858ca15..f22d83264ef08b1c5d4519bd06f16d3ea79c1e71 100644 (file)
@@ -35,7 +35,7 @@
 #include "pbd/compose.h"
 #include "pbd/failed_constructor.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 #include "pbd/debug.h"
 
@@ -137,7 +137,7 @@ BaseUI::request_handler (Glib::IOCondition ioc)
 
                /* handle requests */
 
-               DEBUG_TRACE (DEBUG::EventLoop, "BaseUI::request_handler\n");
+               DEBUG_TRACE (DEBUG::EventLoop, string_compose ("%1: request handler\n", event_loop_name()));
                handle_ui_requests ();
        }
 
@@ -147,7 +147,7 @@ BaseUI::request_handler (Glib::IOCondition ioc)
 void
 BaseUI::signal_new_request ()
 {
-       DEBUG_TRACE (DEBUG::EventLoop, "BaseUI::signal_new_request\n");
+       DEBUG_TRACE (DEBUG::EventLoop, string_compose ("%1: signal_new_request\n", event_loop_name()));
        request_channel.wakeup ();
 }
 
@@ -157,6 +157,6 @@ BaseUI::signal_new_request ()
 void
 BaseUI::attach_request_source ()
 {
-       DEBUG_TRACE (DEBUG::EventLoop, "BaseUI::attach_request_source\n");
+       DEBUG_TRACE (DEBUG::EventLoop, string_compose ("%1: attach request source\n", event_loop_name()));
        request_channel.attach (m_context);
 }