snapshot(prompter) and recent dialog fixes

git-svn-id: svn://localhost/trunk/ardour2@170 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain
2005-12-05 12:43:54 +00:00
parent 0b6adda6f2
commit f44cc04090
2 changed files with 3 additions and 3 deletions

View File

@@ -1718,6 +1718,7 @@ ARDOUR_UI::build_session_selector ()
session_selector_window->set_name ("SessionSelectorWindow");
session_selector_window->set_size_request (200, 400);
session_selector_window->get_vbox()->pack_start (*scroller);
session_selector_window->show_all_children();
}
void

View File

@@ -50,19 +50,18 @@ Prompter::init ()
add_button (Gtk::Stock::OK, Gtk::RESPONSE_ACCEPT);
add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
add_action_widget (entry, Gtk::RESPONSE_ACCEPT);
entryLabel.set_line_wrap (true);
entryLabel.set_name ("PrompterLabel");
entryBox.set_homogeneous (false);
entryBox.set_spacing (25);
entryBox.set_spacing (5);
entryBox.set_border_width (10);
entryBox.pack_start (entryLabel);
entryBox.pack_start (entry, false, false);
get_vbox()->pack_start (entryBox);
show_all_children();
entry.signal_activate().connect (bind (mem_fun (*this, &Prompter::response), Gtk::RESPONSE_ACCEPT));
}