[goffice] Fixed go-format-sel.c.



commit 02f2213be4044359825b6058dcbad3f18fe3ab63
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Nov 30 20:05:59 2011 +0100

    Fixed go-format-sel.c.

 goffice/gtk/go-format-sel.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/goffice/gtk/go-format-sel.c b/goffice/gtk/go-format-sel.c
index 7c12e4a..6a798cc 100644
--- a/goffice/gtk/go-format-sel.c
+++ b/goffice/gtk/go-format-sel.c
@@ -114,6 +114,7 @@ typedef enum {
 	F_BASE_SEPARATOR,
 	F_DECIMAL_GRID,
 	F_FRACTION_GRID,
+	F_FRACTION_GRID1,
 	F_MAX_WIDGET
 } FormatWidget;
 
@@ -651,7 +652,7 @@ static void
 fmt_dialog_enable_widgets (GOFormatSel *gfs, int page)
 {
 	SETUP_LOCALE_SWITCH;
-	static FormatWidget const contents[][17] = {
+	static FormatWidget const contents[][20] = {
 		/* General */
 		{
 			F_GENERAL_EXPLANATION,
@@ -724,6 +725,8 @@ fmt_dialog_enable_widgets (GOFormatSel *gfs, int page)
 		/* Fraction */
 		{
 			F_FRACTION_GRID,
+			F_FRACTION_GRID1,
+			F_DECIMAL_GRID,
 			F_FRACTION_EXPLANATION,
 			F_FRACTION_SEPARATE_INTEGER,
 			F_FRACTION_MIN_INTEGER_DIGITS_LABEL,
@@ -1424,7 +1427,8 @@ nfs_init (GOFormatSel *gfs)
 
 		"format_base_separator",
 		"format-decimal-grid",
-		"format-fraction-grid",
+		"fraction-grid",
+		"fraction-grid1",
 		NULL
 	};
 



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