[gnumeric] No need to hide sheet size preferences anymore.



commit d9d037e9a8f40c971eaa66b2d8f464906ddff9cf
Author: Morten Welinder <terra gnome org>
Date:   Mon Apr 20 10:07:46 2009 -0400

    No need to hide sheet size preferences anymore.
---
 src/dialogs/dialog-preferences.c |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/dialogs/dialog-preferences.c b/src/dialogs/dialog-preferences.c
index ec2034a..a09f98d 100644
--- a/src/dialogs/dialog-preferences.c
+++ b/src/dialogs/dialog-preferences.c
@@ -596,16 +596,14 @@ pref_window_page_initializer (PrefState *state,
 				gnm_gconf_set_workbook_nsheets,
 				_("Default Number of Sheets"));
 
-	if (g_getenv ("GNUMERIC_SHEET_SIZE")) {
-		int_pref_create_widget (state->root, GNM_CONF_WORKBOOK_NROWS,
-					page, row++, GNM_DEFAULT_ROWS, GNM_DEFAULT_ROWS, GNM_MAX_ROWS, GNM_DEFAULT_ROWS, 
-					gnm_gconf_set_workbook_nrows,
-					_("Number of rows in a sheet"));
-		int_pref_create_widget (state->root, GNM_CONF_WORKBOOK_NCOLS,
-					page, row++, GNM_DEFAULT_COLS, GNM_DEFAULT_COLS, GNM_MAX_COLS, GNM_DEFAULT_COLS, 
-					gnm_gconf_set_workbook_ncols,
-					_("Number of columns in a sheet"));
-	}
+	int_pref_create_widget (state->root, GNM_CONF_WORKBOOK_NROWS,
+				page, row++, GNM_DEFAULT_ROWS, GNM_MIN_ROWS, GNM_MAX_ROWS, GNM_MIN_ROWS, 
+				gnm_gconf_set_workbook_nrows,
+				_("Default number of rows in a sheet"));
+	int_pref_create_widget (state->root, GNM_CONF_WORKBOOK_NCOLS,
+				page, row++, GNM_DEFAULT_COLS, GNM_MIN_COLS, GNM_MAX_COLS, GNM_MIN_COLS, 
+				gnm_gconf_set_workbook_ncols,
+				_("Default number of columns in a sheet"));
 
 	bool_pref_create_widget (node, GNM_CONF_GUI_ED_LIVESCROLLING,
 				 page, row++, 



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