- boot_editor->widgets.ok_b = widget_new_button(set, 0, 0, 6,
- "OK", ok_click, boot_editor);
- boot_editor->widgets.cancel_b = widget_new_button(set, 0, 0, 6,
- "Cancel", cancel_click, boot_editor);
+ if (boot_editor->use_signature_files) {
+ boot_editor->widgets.args_sig_file_l = widget_new_label(set,
+ 0, 0, _("Argument signature file:"));
+ boot_editor->widgets.args_sig_file_f = widget_new_textbox(set,
+ 0, 0, field_size, boot_editor->args_sig_file);
+ }
+ else {
+ boot_editor->widgets.args_sig_file_l = NULL;
+ boot_editor->widgets.args_sig_file_f = NULL;
+ }
+
+ boot_editor->widgets.ok_b = widget_new_button(set, 0, 0, 10,
+ _("OK"), ok_click, boot_editor);
+ boot_editor->widgets.help_b = widget_new_button(set, 0, 0, 10,
+ _("Help"), help_click, boot_editor);
+ boot_editor->widgets.cancel_b = widget_new_button(set, 0, 0, 10,
+ _("Cancel"), cancel_click, boot_editor);