diff options
author | Doug McLain <doug@nostar.net> | 2005-12-05 12:43:54 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2005-12-05 12:43:54 +0000 |
commit | f44cc040903b793bd53033633998bc64379b490f (patch) | |
tree | adafa70e10d8995088063a0a315669c980f8a785 /libs/gtkmm2ext/prompter.cc | |
parent | 0b6adda6f242781f40a9b367831e8a29219f04ee (diff) |
snapshot(prompter) and recent dialog fixes
git-svn-id: svn://localhost/trunk/ardour2@170 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/prompter.cc')
-rw-r--r-- | libs/gtkmm2ext/prompter.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/gtkmm2ext/prompter.cc b/libs/gtkmm2ext/prompter.cc index c1b80e2a75..8f78d3179d 100644 --- a/libs/gtkmm2ext/prompter.cc +++ b/libs/gtkmm2ext/prompter.cc @@ -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)); } |