diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-11-01 14:45:03 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-11-01 14:45:03 +0000 |
commit | 3043b68bfbcd70ba13d132c8b833cdf3ba199266 (patch) | |
tree | 2bdb9e667e536d15eaa8bfc0cdac2ea0b8380592 /gtk2_ardour/editor_mixer.cc | |
parent | 2e557e0a12194bd3e51923b3e7d782af90868696 (diff) |
Ignore triple clicks for mute/solo/rec-enable (fixes long-standing insensitive to clicks bug), momentary solo/mute works for track headers, redraw some widgets when resizing editor-mixer (osx only), don't autoconnect physical inputs to busses (sae only), new sends active by default (sae only), some minor sae gui customizations using ardour2_ui_sae.conf.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4078 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r-- | gtk2_ardour/editor_mixer.cc | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index 11ab88bcab..c5809a3dd4 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -131,11 +131,19 @@ Editor::show_editor_mixer (bool yn) #ifdef GTKOSX /* XXX gtk problem here */ + ensure_all_elements_drawn(); +#endif +} + +#ifdef GTKOSX +void +Editor::ensure_all_elements_drawn () +{ + controls_layout.queue_draw (); ruler_label_event_box.queue_draw (); time_button_event_box.queue_draw (); - controls_layout.queue_draw (); -#endif } +#endif void Editor::create_editor_mixer () @@ -145,6 +153,9 @@ Editor::create_editor_mixer () false); current_mixer_strip->Hiding.connect (mem_fun(*this, &Editor::current_mixer_strip_hidden)); current_mixer_strip->GoingAway.connect (mem_fun(*this, &Editor::current_mixer_strip_removed)); +#ifdef GTKOSX + current_mixer_strip->WidthChanged.connect (mem_fun(*this, &Editor::ensure_all_elements_drawn)); +#endif current_mixer_strip->set_embedded (true); } |