Commit 3b32dddb authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

Fix button sensitivity in sort dialog. [#632999]

2010-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* dialog-cell-sort.c (dialog_cell_sort_load_sort_setup): set button
	  sensitivity
	(dialog_init): move cb_sort_selection_changed to the end
parent 32aff449
......@@ -11,6 +11,7 @@ Andreas:
* Fix manual pagebreak handling when printing. [#631570]
* Add menu items to remove and add manual page breaks.
* Improve the sc import.
* Fix button sensitivity in sort dialog. [#632999]
Jean:
* Fixed maximum for col/row number in sheet resize dialog. [#631702]
......
2010-10-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* dialog-cell-sort.c (dialog_cell_sort_load_sort_setup): set button
sensitivity
(dialog_init): move cb_sort_selection_changed to the end
2010-10-24 Jean Brefort <jean.brefort@normalesup.org>
* dialog-printer-setup.c: do not destroy the GtkBuilder after intializing
......
......@@ -426,7 +426,7 @@ cb_update_to_new_range (SortFlowState *state)
}
} else
translate_range (range, state);
set_button_sensitivity(state);
set_button_sensitivity (state);
}
static void
......@@ -576,6 +576,7 @@ dialog_cell_sort_load_sort_setup (SortFlowState *state, GnmSortData const *data)
}
this++;
}
set_button_sensitivity (state);
}
static GnmRange const *
......@@ -1138,10 +1139,10 @@ dialog_init (SortFlowState *state)
wbc_gtk_attach_guru (state->wbcg, state->dialog);
g_object_set_data_full (G_OBJECT (state->dialog),
"state", state, (GDestroyNotify) cb_dialog_destroy);
cb_sort_selection_changed (state);
range = dialog_load_selection (state, &col_rb);
cb_sort_selection_changed (state);
gnm_expr_entry_grab_focus(GNM_EXPR_ENTRY (state->add_entry), TRUE);
}
......
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