snapshot(prompter) and recent dialog fixes
git-svn-id: svn://localhost/trunk/ardour2@170 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user