another get_vbox() fix, this time for PortSelectorWindow

git-svn-id: svn://localhost/trunk/ardour2@346 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2006-03-05 10:24:31 +00:00
parent 2cdbfaddc4
commit b62c348c88
4 changed files with 8 additions and 9 deletions

View File

@ -140,7 +140,7 @@ style "default_buttons_menus"
style "very_small_button" = "default_buttons_menus"
{
font_name = "sans 7"
font_name = "sans 6"
}
style "small_button" = "default_buttons_menus"
@ -173,7 +173,7 @@ style "track_rec_enable_button" = "small_button"
style "mixer_rec_enable_button" = "track_rec_enable_button"
{
font_name = "sans 7"
font_name = "sans 6"
}
style "solo_button" = "small_button"
@ -187,7 +187,7 @@ style "solo_button" = "small_button"
style "mixer_solo_button" = "solo_button"
{
font_name = "sans 7"
font_name = "sans 6"
}
@ -201,7 +201,7 @@ style "mute_button" = "small_button"
style "mixer_mute_button" = "mute_button"
{
font_name = "sans 7"
font_name = "sans 6"
}
style "track_loop_button" = "small_button"

View File

@ -821,10 +821,8 @@ PortInsertWindow::PortInsertWindow (Session& sess, PortInsert& pi, bool can_canc
}
button_box.pack_start (ok_button);
vbox.pack_start (_portinsertui);
vbox.pack_start (button_box, false, false);
add (vbox);
get_vbox()->pack_start (_portinsertui);
get_vbox()->pack_start (button_box, false, false);
ok_button.signal_clicked().connect (mem_fun(*this, &PortInsertWindow::accept));
cancel_button.signal_clicked().connect (mem_fun(*this, &PortInsertWindow::cancel));

View File

@ -108,7 +108,7 @@ RedirectBox::RedirectBox (Placement pcmnt, Session& sess, Route& rt, PluginSelec
redirect_display.set_name ("RedirectSelector");
redirect_display.set_headers_visible (false);
redirect_display.set_reorderable (true);
redirect_display.set_size_request (-1, 48);
redirect_display.set_size_request (-1, -1);
redirect_display.get_column(0)->set_sizing(TREE_VIEW_COLUMN_FIXED);
redirect_display.get_column(0)->set_fixed_width(48);
redirect_display.add_object_drag (columns.redirect.index(), "redirects");

View File

@ -23,6 +23,7 @@
#include <cerrno>
#include <sndfile.h>
#include <cerrno>
#include <pbd/basename.h>