summaryrefslogtreecommitdiff
path: root/libs/pbd/base_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-10 17:45:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-10 17:45:18 +0000
commit90d6916ca3443b81a4eaf615c014ac065554b4f2 (patch)
tree69d14f3bf15b34f054455afd71791ae3616b8260 /libs/pbd/base_ui.cc
parentb5ca5713fbf2d58485084d7cd70a2a52fb1d7ef5 (diff)
restore rec-enable, solo & mute functionality; remove all Global*Command cruft; reimplement momentary solo&mute; refactor session RT event stuff to be even cleaner and finally compatible with everything-is-a-UI idea ; make all UIs derive from a primitive type that pprovides only void call_slot (sigc::slot<void>) as a way to execute arbitrary code in the UI thread
git-svn-id: svn://localhost/ardour2/branches/3.0@6338 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/base_ui.cc')
-rw-r--r--libs/pbd/base_ui.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/pbd/base_ui.cc b/libs/pbd/base_ui.cc
index 9b461fb01d..ea7e469c74 100644
--- a/libs/pbd/base_ui.cc
+++ b/libs/pbd/base_ui.cc
@@ -43,8 +43,6 @@ BaseUI::BaseUI (const string& str)
: run_loop_thread (0)
, _name (str)
{
- cerr << "New BUI called " << _name << " @ " << this << endl;
-
base_ui_instance = this;
request_channel.ios()->connect (sigc::mem_fun (*this, &BaseUI::request_handler));
@@ -72,6 +70,7 @@ BaseUI::new_request_type ()
void
BaseUI::main_thread ()
{
+ set_ui_for_thread (this);
thread_init ();
_main_loop->run ();
}