diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-01-04 05:53:51 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-01-04 05:53:51 +0000 |
commit | fd20404daa41011a1eb747e054921f63ccae6bb2 (patch) | |
tree | d3794b59dff8683eab29faa7d36f5bb57232a9ee /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | 422f290094f30c0b94ddb221b77c09d9cf06cc64 (diff) |
Updates for set_type_hint() and the sfdb_ui.
git-svn-id: svn://localhost/trunk/ardour2@239 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index fe34ac523e..22fa1d384f 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -76,6 +76,9 @@ ARDOUR_UI::connect_to_session (Session *s) option_editor->set_session (s); } + if (sfdb) { + sfdb->set_session (s); + } Blink.connect (mem_fun(*this, &ARDOUR_UI::transport_rec_enable_blink)); Blink.connect (mem_fun(*this, &ARDOUR_UI::solo_blink)); @@ -348,9 +351,11 @@ ARDOUR_UI::toggle_sound_file_browser () RefPtr<ToggleAction> tact = RefPtr<ToggleAction>::cast_dynamic(act); if (tact->get_active()) { + sfdb->show_all(); sfdb->present(); } else { sfdb->hide (); } } } + |