[gnumeric] some input message fix
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] some input message fix
- Date: Fri, 2 Aug 2013 17:36:10 +0000 (UTC)
commit 7574ff7594b234efd9aca193a350db1da1eb99e6
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Fri Aug 2 11:35:08 2013 -0600
some input message fix
2013-08-02 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-cell-format.c (fmt_dialog_init_input_msg_page): set toggle
(fmt_dialog_init_validation_page): remove unneeded code
src/dialogs/ChangeLog | 5 +++++
src/dialogs/dialog-cell-format.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 8c44410..03e088a 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-02 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * dialog-cell-format.c (fmt_dialog_init_input_msg_page): set toggle
+ (fmt_dialog_init_validation_page): remove unneeded code
+
2013-08-02 Morten Welinder <terra gnome org>
* dialog-cell-format.c (fmt_dialog_init_input_msg_page): Turn this
diff --git a/src/dialogs/dialog-cell-format.c b/src/dialogs/dialog-cell-format.c
index 3a47ee1..d4108bf 100644
--- a/src/dialogs/dialog-cell-format.c
+++ b/src/dialogs/dialog-cell-format.c
@@ -1937,7 +1937,6 @@ fmt_dialog_init_validation_page (FormatState *state)
if (0 == (state->conflicts & (1 << MSTYLE_VALIDATION)))
v = gnm_style_get_validation (state->style);
if (v != NULL) {
- GnmValidation const *v = gnm_style_get_validation (state->style);
GnmParsePos pp;
gtk_combo_box_set_active (state->validation.error.action, v->style);
@@ -2000,6 +1999,7 @@ fmt_dialog_init_input_msg_page (FormatState *state)
gnumeric_textview_set_text (state->input_msg.msg,
gnm_input_msg_get_msg (im));
}
+ gtk_toggle_button_set_active (state->input_msg.flag, im != NULL);
gnumeric_editable_enters (
GTK_WINDOW (state->dialog),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]