Commit 29577a78 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

show all comment-placement and error-display options

2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* dialog-printer-setup.c (do_setup_error_display): show all options
	to preserve setting through import-export cycle
	(do_setup_comment_display): ditto
parent fda1cc17
......@@ -43,10 +43,7 @@ Target Features
Short term goals
----------------
- .gnumeric I/O for PI:{error_display,comment_placement}
- Use go_glade_signal_connect (and friends)
- undo of cell range cut over clipboard
http://live.gnome.org/Academic
- ={A1:A3+rand()} only calls rand() once.
Misc stuff that should be fixed
......@@ -543,7 +540,7 @@ Architecture Changes
38) Printing
38.3) PI:comment_placement
38.4) PI:display_errors
38.4) PI:display_errors (partial)
39) Lotus filter
39.1) http://www.openoffice.org/issues/show_bug.cgi?id=84496
......
2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* dialog-printer-setup.c (do_setup_error_display): show all options
to preserve setting through import-export cycle
(do_setup_comment_display): ditto
2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* dialog-printer-setup.c (do_setup_error_display): enable
......
......@@ -2189,9 +2189,9 @@ do_setup_error_display (PrinterSetupState *state)
guint type;
} display_types[] = {
{N_("Print as displayed"), PRINT_ERRORS_AS_DISPLAYED},
{N_("Print as spaces"), PRINT_ERRORS_AS_BLANK}/* , */
/* {N_("Print as dashes"), PRINT_ERRORS_AS_DASHES}, */
/* {N_("Print as #N/A"), PRINT_ERRORS_AS_NA} */
{N_("Print as spaces"), PRINT_ERRORS_AS_BLANK},
{N_("Print as dashes"), PRINT_ERRORS_AS_DASHES},
{N_("Print as #N/A"), PRINT_ERRORS_AS_NA}
};
gint i;
......@@ -2240,8 +2240,8 @@ do_setup_comment_display (PrinterSetupState *state)
0, _(display_types[i].label),
1, display_types[i].type,
-1);
/* if (display_types[i].type == state->pi->comment_placement) */
/* item = i; */
if (display_types[i].type == state->pi->comment_placement)
item = i;
}
cell = gtk_cell_renderer_text_new();
gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(state->comment_display.combo), cell, 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