[gnumeric] show all comment-placement and error-display options



commit 29577a788492ed5e7c0ffbbd91197cb70b852018
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Wed Jul 27 13:38:17 2011 -0600

    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

 BUGS                               |    5 +----
 src/dialogs/ChangeLog              |    6 ++++++
 src/dialogs/dialog-printer-setup.c |   10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/BUGS b/BUGS
index b53df02..71679ca 100644
--- a/BUGS
+++ b/BUGS
@@ -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
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 6fe3da3..9f67c30 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,5 +1,11 @@
 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
 	combo for as_blank
 
diff --git a/src/dialogs/dialog-printer-setup.c b/src/dialogs/dialog-printer-setup.c
index 572b80d..c16ced5 100644
--- a/src/dialogs/dialog-printer-setup.c
+++ b/src/dialogs/dialog-printer-setup.c
@@ -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);



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