From ad4919ce920a1a588c9ecd3d822dacfb93d74bb7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Oct 2008 18:24:38 +0000 Subject: Assortment of minor changes from 2.0-ongoing. git-svn-id: svn://localhost/ardour2/branches/3.0@3852 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_mixer.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'gtk2_ardour/editor_mixer.cc') diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index d6ce61fc48..cce057d050 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -136,6 +136,12 @@ Editor::show_editor_mixer (bool yn) } } } +#ifdef GTKOSX + /* XXX gtk problem here */ + ruler_label_event_box.queue_draw (); + time_button_event_box.queue_draw (); + controls_layout.queue_draw (); +#endif } void @@ -259,10 +265,6 @@ Editor::update_current_screen () almost_done: last_update_frame = frame; -#ifdef GTKOSX - /*XXX in a perfect world we would not have to do this. */ - track_canvas->update_now(); -#endif if (current_mixer_strip) { current_mixer_strip->fast_update (); } @@ -354,10 +356,6 @@ Editor::session_going_away () zoom_range_clock.set_session (0); nudge_clock.set_session (0); - /* put editor/mixer toggle button in off position and disable until a new session is loaded */ - - editor_mixer_button.set_active(false); - editor_mixer_button.set_sensitive(false); editor_list_button.set_active(false); editor_list_button.set_sensitive(false); -- cgit v1.2.3