Commit f6ee7614 authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

first split is not the end of a column (Bug #66433) alphabetize

2001-12-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* dialog-stf-fixed-page.c (fixed_page_autodiscover) :
	  first split is not the end of a column (Bug #66433)
	* dialogs/dialog-analysis-tools.c : alphabetize
	(dialog_ftest_tool_init) : fix typo (Bug #66880)

2001-12-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf-parse.c (stf_parse_options_fixed_autodiscover) :
	  Only delete one split for each empty column (Bug #66433)
parent 1088ab2e
2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/stf-parse.c (stf_parse_options_fixed_autodiscover) :
Only delete one split for each empty column (Bug #66433)
2001-12-13 Jody Goldberg <jody@gnome.org>
* src/ranges.c (range_has_header) : !$!%! XL uses styles to
......
......@@ -29,6 +29,7 @@ Andreas:
* Removed latex209 exporter
* Implement spans in LaTeX exporter
* Improved analysis tools documentation
* Fix bugs (#66433 & #66880)
Jody:
* Tricky corner cases for style applications (Part 2).
......
2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/stf-parse.c (stf_parse_options_fixed_autodiscover) :
Only delete one split for each empty column (Bug #66433)
2001-12-13 Jody Goldberg <jody@gnome.org>
* src/ranges.c (range_has_header) : !$!%! XL uses styles to
......
2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/stf-parse.c (stf_parse_options_fixed_autodiscover) :
Only delete one split for each empty column (Bug #66433)
2001-12-13 Jody Goldberg <jody@gnome.org>
* src/ranges.c (range_has_header) : !$!%! XL uses styles to
......
2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/stf-parse.c (stf_parse_options_fixed_autodiscover) :
Only delete one split for each empty column (Bug #66433)
2001-12-13 Jody Goldberg <jody@gnome.org>
* src/ranges.c (range_has_header) : !$!%! XL uses styles to
......
2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* dialog-stf-fixed-page.c (fixed_page_autodiscover) :
first split is not the end of a column (Bug #66433)
* dialogs/dialog-analysis-tools.c : alphabetize
(dialog_ftest_tool_init) : fix typo (Bug #66880)
2001-12-13 Jody Goldberg <jody@gnome.org>
* dialog-cell-sort.c (dialog_cell_sort) : changes to range_has_header.
......
......@@ -2205,7 +2205,7 @@ dialog_ftest_tool_init (FTestToolState *state)
gnumeric_editable_enters (GTK_WINDOW (state->dialog),
GTK_EDITABLE (state->alpha_entry));
gtk_signal_connect_after (GTK_OBJECT (state->alpha_entry), "changed",
GTK_SIGNAL_FUNC (ttest_update_sensitivity_cb), state);
GTK_SIGNAL_FUNC (ftest_update_sensitivity_cb), state);
gnumeric_keyed_dialog (state->wbcg, GTK_WINDOW (state->dialog),
FTEST_KEY);
......@@ -4373,10 +4373,10 @@ static tool_list_t tools[] = {
dialog_covariance_tool },
{ N_("Descriptive Statistics"),
dialog_descriptive_stat_tool },
{ N_("F-Test: Two-Sample for Variances"),
dialog_ftest_tool },
{ N_("Exponential Smoothing"),
dialog_exp_smoothing_tool },
{ N_("F-Test: Two-Sample for Variances"),
dialog_ftest_tool },
/* { N_("Fourier Analysis"), */
/* dialog_fourier_tool }, */
{ N_("Histogram"),
......
......@@ -23,7 +23,7 @@ static void
fixed_page_autodiscover (DruidPageData_t *pagedata)
{
FixedInfo_t *info = pagedata->fixed_info;
guint i = 0;
guint i = 1;
char *tset[2];
stf_parse_options_fixed_autodiscover (info->fixed_run_parseoptions, pagedata->importlines, (char *) pagedata->cur);
......@@ -32,7 +32,7 @@ fixed_page_autodiscover (DruidPageData_t *pagedata)
while (i < info->fixed_run_parseoptions->splitpositions->len) {
tset[0] = g_strdup_printf ("%d", i);
tset[0] = g_strdup_printf ("%d", i - 1);
tset[1] = g_strdup_printf ("%d", g_array_index (info->fixed_run_parseoptions->splitpositions,
int,
i));
......@@ -44,7 +44,7 @@ fixed_page_autodiscover (DruidPageData_t *pagedata)
i++;
}
tset[0] = g_strdup_printf ("%d", i);
tset[0] = g_strdup_printf ("%d", i - 1);
tset[1] = g_strdup_printf ("%d", -1);
gtk_clist_append (info->fixed_collist, tset);
......
......@@ -1123,14 +1123,6 @@ stf_parse_options_fixed_autodiscover (StfParseOptions_t *parseoptions, int const
if (only_spaces) {
g_array_remove_index (parseoptions->splitpositions, i);
/*
* If the beginning of the column is zero than this
* is an exclusive case and the end also needs to be removed
* because there is no preceding column
*/
if (begin == 0)
g_array_remove_index (parseoptions->splitpositions, i);
/*
* We HAVE to make sure that the next column (end) also
* gets checked out. If we don't decrease "i" here, we
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment