"Add and Close" is an odd one out and this button should really be
removed for consistency. Still it allows for a 2-click or
2-keyboard-shortcut very common action.
this dialog is shown, via ::on_show()
*/
this dialog is shown, via ::on_show()
*/
- add_button (_("Add"), Add);
add_button (_("Add and Close"), AddAndClose);
add_button (_("Add and Close"), AddAndClose);
+ add_button (_("Add"), Add);
set_response_sensitive (AddAndClose, true);
set_default_response (AddAndClose);
set_response_sensitive (AddAndClose, true);
set_default_response (AddAndClose);