13
0

show() widgets explicitly in the MixerStrip and IOSelector

git-svn-id: svn://localhost/ardour2/trunk@2122 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2007-07-06 23:55:54 +00:00
parent 341c03e984
commit f87954eeb5
3 changed files with 54 additions and 3 deletions

View File

@ -98,6 +98,12 @@ IOSelectorWindow::IOSelectorWindow (Session& sess, boost::shared_ptr<IO> ior, bo
set_title (title);
set_position (WIN_POS_MOUSE);
ok_button.show();
cancel_button.show();
rescan_button.show();
button_box.show();
get_vbox()->show();
signal_delete_event().connect (bind (sigc::ptr_fun (just_hide_it), reinterpret_cast<Window *> (this)));
}
@ -251,6 +257,24 @@ IOSelector::IOSelector (Session& sess, boost::shared_ptr<IO> ior, bool input)
}
io->NameChanged.connect (mem_fun(*this, &IOSelector::name_changed));
main_box.show();
port_and_selector_box.show();
notebook.show();
selector_frame.show();
selector_box.show();
selector_button_box.show();
port_box.show();
port_button_box.show();
port_and_button_box.show();
port_frame.show();
add_port_button.show();
remove_port_button.show();
clear_connections_button.show();
port_display_scroller.show();
show();
}
IOSelector::~IOSelector ()

View File

@ -353,6 +353,34 @@ MixerStrip::MixerStrip (Mixer_UI& mx, Session& sess, boost::shared_ptr<Route> rt
update_output_display ();
add_events (Gdk::BUTTON_RELEASE_MASK);
whvbox->show();
hide_button.show();
width_button.show();
width_hide_box.show();
global_frame.show();
global_vpacker.show();
button_table.show();
middle_button_table.show();
bottom_button_table.show();
gain_unit_button.show();
gain_unit_label.show();
meter_point_button.show();
meter_point_label.show();
diskstream_button.show();
diskstream_label.show();
input_button.show();
input_label.show();
output_button.show();
output_label.show();
name_button.show();
comment_button.show();
group_button.show();
group_label.show();
speed_spinner.show();
speed_label.show();
speed_frame.show();
}
MixerStrip::~MixerStrip ()
@ -533,7 +561,7 @@ MixerStrip::edit_output_configuration ()
if (output_selector->is_visible()) {
output_selector->get_toplevel()->get_window()->raise();
} else {
output_selector->show_all ();
output_selector->present ();
}
}
@ -547,7 +575,7 @@ MixerStrip::edit_input_configuration ()
if (input_selector->is_visible()) {
input_selector->get_toplevel()->get_window()->raise();
} else {
input_selector->show_all ();
input_selector->present ();
}
}

View File

@ -619,7 +619,6 @@ Mixer_UI::redisplay_track_list ()
strip_packer.pack_start (*strip, false, false);
}
strip->set_packed (true);
strip->show_all ();
}
} else {