gnumeric r17281 - trunk/src/dialogs
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17281 - trunk/src/dialogs
- Date: Thu, 2 Apr 2009 01:31:35 +0000 (UTC)
Author: mortenw
Date: Thu Apr 2 01:31:35 2009
New Revision: 17281
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17281&view=rev
Log:
Activate this for variable sheets too.
Modified:
trunk/src/dialogs/dialog-preferences.c
Modified: trunk/src/dialogs/dialog-preferences.c
==============================================================================
--- trunk/src/dialogs/dialog-preferences.c (original)
+++ trunk/src/dialogs/dialog-preferences.c Thu Apr 2 01:31:35 2009
@@ -595,16 +595,18 @@
page, row++, 1, 1, 64, 1,
gnm_gconf_set_workbook_nsheets,
_("Default Number of Sheets"));
-#ifdef GNUMERIC_VARIABLE_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"));
-#endif
+
+ 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"));
+ }
+
bool_pref_create_widget (node, GNM_CONF_GUI_ED_LIVESCROLLING,
page, row++,
gnm_gconf_set_gui_livescrolling,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]