[gnumeric] Fix button sensitivity in sort dialog. [#632999]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix button sensitivity in sort dialog. [#632999]
- Date: Sun, 24 Oct 2010 19:09:20 +0000 (UTC)
commit 3b32dddb74f592122d3f92828024942e1936f7cc
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sun Oct 24 13:09:08 2010 -0600
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
NEWS | 1 +
src/dialogs/ChangeLog | 6 ++++++
src/dialogs/dialog-cell-sort.c | 5 +++--
3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 7c71509..1b1cd77 100644
--- a/NEWS
+++ b/NEWS
@@ -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]
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 326d076..024bfd5 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,9 @@
+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
diff --git a/src/dialogs/dialog-cell-sort.c b/src/dialogs/dialog-cell-sort.c
index e74b292..b3c4cbf 100644
--- a/src/dialogs/dialog-cell-sort.c
+++ b/src/dialogs/dialog-cell-sort.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]