diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-10 17:45:18 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-10 17:45:18 +0000 |
commit | 90d6916ca3443b81a4eaf615c014ac065554b4f2 (patch) | |
tree | 69d14f3bf15b34f054455afd71791ae3616b8260 /libs/gtkmm2ext | |
parent | b5ca5713fbf2d58485084d7cd70a2a52fb1d7ef5 (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/gtkmm2ext')
-rw-r--r-- | libs/gtkmm2ext/gtk_ui.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index 1f8e919af4..3d86c6d103 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -80,6 +80,12 @@ UI::UI (string namestr, int *argc, char ***argv) */ run_loop_thread = Thread::self(); + + /* store "this" as the UI-for-thread of this thread, same argument + as for previous line. + */ + + set_ui_for_thread (this); /* attach our request source to the default main context */ |