-
Jody Goldberg authored
Put a wrapper in place around dialog creation. This will eventually handle the setting of the parent and closing the parent application while a dialog is up. 2000-01-21 Jody Goldberg <jgoldberg@home.com> * src/dialogs/dialog-printer-setup.c (do_hf_config) : Take a Workbook. * src/gnumeric-util.c (gnumeric_dialog_run) : New function. It is a wrapper for now. After the release of .48 we will move the parent setting here. And handle the case where a user closes the app window while a dialog is displayed. * src/file.c (workbook_import) : Use gnumeric_dialog_run. * src/dialogs/dialog-{dialog-zoom.c (dialog_zoom_impl) summary.c (dialog_summary_update) solver.c (dialog_solver) solver.c (constr_add_click) solver.c (dialog_solver_options) simple-input.c (dialog_get_number, dialog_get_sheet_name) printer.c (gnumeric_printer_dialog_run) paste-special.c (dialog_paste_special) insert-cells.c (dialog_insert_cells_impl) goto-cell.c (dialog_goto_cell) goal-seek.c (dialog_found_solution, dialog_goal_seek) function-wizard.c (dialog_function_wizard) delete-cells.c (dialog_delete_cells_impl) cell-sort.c (dialog_cell_sort) cell-format.c (fmt_dialog_impl) cell-comment.c (dialog_cell_comment) autosave.c (dialog_autosave_callback, dialog_autosave) autocorrect.c (exceptions_callback) (dialog_autocorrect)} : Ditto. * src/dialogs/dialog-analysis-tools.c (dialog_{correlation_tool, covariance_tool, sampling_tool, descriptive_stat_tool, ztest_tool, ttest_paired_tool, ttest_eq_tool, ttest_neq_tool, ftest_tool, random_tool, regression_tool, average_tool, ranking_tool, anova_single_factor_tool, anova_two_factor_without_r_tool, data_analysis}) : Ditto. * src/workbook.c (workbook_can_close) : Ditto. * src/item-cursor.c (item_cursor_target_region_ok) : Ditto. * src/sheet.c (sheet_move_range) : Avoid leaking when we paste. This information will be used when undo for pasteing a cut is ready. * README : update requirements. * plugins/Makefile.am : Do not compile the python plugin by default. This will avoid complaints regarding problems with no dynamic python library until we have a solution. * src/functions/fn-stat.c : (gnumeric_kurt, gnumeric_kurtp) : return DIV/0 on error.
914cec6f