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));
current_mixer_strip->set_width (editor_mixer_strip_width);
- current_mixer_strip->show_all ();
- global_hpacker.pack_start (*current_mixer_strip, false, false);
+ global_hpacker.pack_start (*current_mixer_strip, Gtk::PACK_SHRINK );
global_hpacker.reorder_child (*current_mixer_strip, 0);
+ current_mixer_strip->show_all ();
}
} else {
if (current_mixer_strip) {
- editor_mixer_strip_width = current_mixer_strip->get_width ();
+ editor_mixer_strip_width = current_mixer_strip->get_width ();
if (current_mixer_strip->get_parent() != 0) {
global_hpacker.remove (*current_mixer_strip);
}
if (current_mixer_strip->get_parent()) {
show = true;
}
-
delete current_mixer_strip;
current_mixer_strip = 0;
}
if (_follow_playhead) {
- gnome_canvas_item_show (playhead_cursor->canvas_item);
-
+ playhead_cursor->canvas_item.show();
if (frame != last_update_frame) {
if (frame < leftmost_frame || frame > leftmost_frame + current_page_frames()) {
if (frame != last_update_frame) {
if (frame < leftmost_frame || frame > leftmost_frame + current_page_frames()) {
- gnome_canvas_item_hide (playhead_cursor->canvas_item);
+ playhead_cursor->canvas_item.hide();
} else {
playhead_cursor->set_position (frame);
}
/* rip everything out of the list displays */
region_list_clear (); // no clear() method in gtkmm 1.2
- route_display_model.clear ();
- named_selection_model.clear ();
- group_model.clear ();
+ route_display_model->clear ();
+ named_selection_model->clear ();
+ group_model->clear ();
edit_cursor_clock.set_session (0);
selection_start_clock.set_session (0);
current_bbt_points = 0;
}
- if (embed_audio_item) {
- embed_audio_item->set_sensitive (false);
- }
-
- if (import_audio_item) {
- import_audio_item->set_sensitive (false);
- }
-
/* mixer strip will be deleted all by itself
when its route is deleted.
*/