[gnumeric] Enable expression entry icons in conditional formatting dialog



commit d3d2eae803d2ee42ac1951389c236e7c4dfe6dff
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Sun Jul 10 23:34:43 2011 -0600

    Enable expression entry icons in conditional formatting dialog
    
    2011-07-10 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* dialog-cell-format-cond.c (c_fmt_dialog_init_editor_page): enable
    	expression entry icons.

 src/dialogs/ChangeLog                 |    5 +++++
 src/dialogs/dialog-cell-format-cond.c |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index f8ddb3f..e9864c3 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,5 +1,10 @@
 2011-07-10 Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* dialog-cell-format-cond.c (c_fmt_dialog_init_editor_page): enable
+	expression entry icons.
+
+2011-07-10 Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* dialogs.h (dialog_cell_format_select_style): add style argument
 	* dialog-cell-format-cond.c (cb_c_fmt_dialog_edit_style_button):
 	pass style to dialog_cell_format_select_style
diff --git a/src/dialogs/dialog-cell-format-cond.c b/src/dialogs/dialog-cell-format-cond.c
index 17d24c3..9ce9c11 100644
--- a/src/dialogs/dialog-cell-format-cond.c
+++ b/src/dialogs/dialog-cell-format-cond.c
@@ -1123,7 +1123,7 @@ c_fmt_dialog_init_editor_page (CFormatState *state)
 	state->editor.edit_style_button = go_gtk_builder_get_widget (state->gui, "edit-style-button");
 	state->editor.combo = go_gtk_builder_get_widget (state->gui, "condition-combo");
 	table = GTK_TABLE (go_gtk_builder_get_widget (state->gui, "condition-table"));
-	state->editor.expr_x = GTK_WIDGET (gnm_expr_entry_new (state->wbcg, FALSE));
+	state->editor.expr_x = GTK_WIDGET (gnm_expr_entry_new (state->wbcg, TRUE));
 	gtk_table_attach (table, state->editor.expr_x, 1, 2, 2, 3, 
 			  GTK_EXPAND | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
 	gtk_widget_show(state->editor.expr_x);
@@ -1131,7 +1131,7 @@ c_fmt_dialog_init_editor_page (CFormatState *state)
 				  GNM_EE_CONSTANT_ALLOWED,
 				  GNM_EE_MASK);
 
-	state->editor.expr_y = GTK_WIDGET (gnm_expr_entry_new (state->wbcg, FALSE));
+	state->editor.expr_y = GTK_WIDGET (gnm_expr_entry_new (state->wbcg, TRUE));
 	gtk_table_attach (table, state->editor.expr_y, 1, 2, 3, 4, 
 			  GTK_EXPAND | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
 	gtk_widget_show(state->editor.expr_y);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]