X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fprompter.cc;h=03cfb25be41f905a3078fbda1c603c6ad79553c0;hb=4dc63966f0872efe768dad61eb9b8785d06b92d1;hp=a9a6d8da969b82fb693e095dbef63ab476dc549c;hpb=21d4eb56d4ac09dca2f33f69f10d985b13a6b55c;p=ardour.git diff --git a/libs/gtkmm2ext/prompter.cc b/libs/gtkmm2ext/prompter.cc index a9a6d8da96..03cfb25be4 100644 --- a/libs/gtkmm2ext/prompter.cc +++ b/libs/gtkmm2ext/prompter.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 1999 Paul Barton-Davis + Copyright (C) 1999 Paul Barton-Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -55,7 +55,7 @@ Prompter::init () add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); - /* + /* Alas a generic 'affirmative' button seems a bit useless sometimes. You will have to add your own. After adding, use : @@ -69,8 +69,8 @@ Prompter::init () entryBox.set_homogeneous (false); entryBox.set_spacing (5); entryBox.set_border_width (10); - entryBox.pack_start (entryLabel); - entryBox.pack_start (entry, false, false); + entryBox.pack_start (entryLabel, false, false); + entryBox.pack_start (entry, true, true); get_vbox()->pack_start (entryBox); show_all_children(); @@ -122,10 +122,10 @@ Prompter::entry_activated () void Prompter::on_entry_changed () { - /* - This is set up so that entering text in the entry - field makes the RESPONSE_ACCEPT button active. - Of course if you haven't added a RESPONSE_ACCEPT + /* + This is set up so that entering text in the entry + field makes the RESPONSE_ACCEPT button active. + Of course if you haven't added a RESPONSE_ACCEPT button, nothing will happen at all. */