summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mixer.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-03 18:24:38 +0000
committerDavid Robillard <d@drobilla.net>2008-10-03 18:24:38 +0000
commitad4919ce920a1a588c9ecd3d822dacfb93d74bb7 (patch)
treef9636723272d7b06635aa2f1323a4ba3a614fb2c /gtk2_ardour/editor_mixer.cc
parent21c4721a68d42b05beb3a2e8d68d99a5cdd3ef41 (diff)
Assortment of minor changes from 2.0-ongoing.
git-svn-id: svn://localhost/ardour2/branches/3.0@3852 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r--gtk2_ardour/editor_mixer.cc14
1 files changed, 6 insertions, 8 deletions
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);