[gnumeric] Add GSettings schemas.



commit 3c01c154504803d3d9cc2e5c1c480b936a1741a6
Author: Jean Brefort <jean brefort normalesup org>
Date:   Thu Mar 3 18:57:13 2011 +0100

    Add GSettings schemas.

 ChangeLog                                          |    8 +
 NEWS                                               |    1 +
 configure.in                                       |   10 +
 po/ChangeLog                                       |    4 +
 po/POTFILES.in                                     |    3 +
 schemas/Makefile.am                                |   19 +-
 .../org.gnome.gnumeric.dialogs.gschema.xml.in.in   |  353 ++++++++++++++++++++
 schemas/org.gnome.gnumeric.gschema.xml.in.in       |  268 +++++++++++++++
 .../org.gnome.gnumeric.plugin.gschema.xml.in.in    |   28 ++
 9 files changed, 693 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index fe886cb..8d79b1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-03-03  Jean Brefort  <jean brefort normalesup org>
+
+	* configure.in: add gschema files.
+	* schemas/Makefile.am: ditto.
+	* schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: ditto.
+	* schemas/org.gnome.gnumeric.gschema.xml.in.in: ditto.
+	* schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in: ditto.
+
 2011-03-01  Morten Welinder  <terra gnome org>
 
 	* src/gnumeric-gconf.c (get_node): Handle absolute keys, assuming
diff --git a/NEWS b/NEWS
index 089a13c..bd76383 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Andreas:
 
 Jean:
 	* Fix cursor position inside a cell edited in a zoomed sheet. [#641709]
+	* Add GSettings schemas.
 
 Morten:
 	* Import wide sc files.  [#641581]
diff --git a/configure.in b/configure.in
index b27e0cf..8363cf9 100644
--- a/configure.in
+++ b/configure.in
@@ -843,6 +843,13 @@ AC_ARG_WITH(long_double,
 )
 
 dnl **************************************************
+dnl * Check for GSettings
+dnl **************************************************
+AC_CHECK_LIB(gio-2.0,[g_settings_new])
+GLIB_GSETTINGS
+AM_CONDITIONAL(HAVE_GSETTINGS, test $ac_cv_lib_gio_2_0_g_settings_new=yes)
+
+dnl **************************************************
 dnl * Check for Perl
 dnl **************************************************
 
@@ -1167,6 +1174,9 @@ plugins/xbase/Makefile
 po/Makefile.in
 po-functions/Makefile.in
 schemas/Makefile
+schemas/org.gnome.gnumeric.gschema.xml.in
+schemas/org.gnome.gnumeric.dialogs.gschema.xml.in
+schemas/org.gnome.gnumeric.plugin.gschema.xml.in
 templates/Makefile
 templates/english/Makefile
 templates/autoformat/Makefile
diff --git a/po/ChangeLog b/po/ChangeLog
index dbba317..0b0d8aa 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-03  Jean Brefort  <jean brefort normalesup org>
+
+	* POTFILES.in: add gschema files.
+
 2011-02-02  Morten Welinder <terra gnome org>
 
 	* Release 1.10.13
diff --git a/po/POTFILES.in b/po/POTFILES.in
index dbde7aa..fabd679 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -121,6 +121,9 @@ plugins/xbase/xbase.c
 schemas/gnumeric-dialogs.schemas.in
 schemas/gnumeric-general.schemas.in
 schemas/gnumeric-plugins.schemas.in
+schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in
+schemas/org.gnome.gnumeric.gschema.xml.in.in
+schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in
 src/GNOME_Gnumeric-gtk.xml.in
 src/HILDON_Gnumeric-gtk.xml.in
 src/application.c
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index f23bc9c..2b3b79f 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -4,11 +4,28 @@ schemadir   	= @GCONF_SCHEMA_FILE_DIR@
 schema_DATA 	= $(schema_in_files:.schemas.in=.schemas)
 endif
 
-EXTRA_DIST = $(schema_in_files)
+EXTRA_DIST =
 CLEANFILES = $(schema_DATA)
 
 @INTLTOOL_SCHEMAS_RULE@
 
+if HAVE_GSETTINGS
+gsettings_SCHEMAS =	\
+	org.gnome.gnumeric.gschema.xml	\
+	org.gnome.gnumeric.dialogs.gschema.xml	\
+	org.gnome.gnumeric.plugin.gschema.xml
+
+ INTLTOOL_XML_NOMERGE_RULE@
+
+ GSETTINGS_RULES@
+
+endif
+
+EXTRA_DIST += $(schema_in_files)	\
+	org.gnome.gnumeric.gschema.xml.in.in	\
+	org.gnome.gnumeric.dialogs.gschema.xml.in.in	\
+	org.gnome.gnumeric.plugin.gschema.xml.in.in
+
 if GCONF_SCHEMAS_INSTALL
 # don't do this if we are building in eg. rpm
 install-data-local:
diff --git a/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in b/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in
new file mode 100644
index 0000000..63545a4
--- /dev/null
+++ b/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in
@@ -0,0 +1,353 @@
+<schemalist>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.functionselector" path="/apps/gnumeric/functionselector/">
+    <key name="recentfunctions" type="as">
+      <default>[]</default>
+      <_summary>List of recently used functions.</_summary>
+      <_description>The function selector keeps a list of recently used functions. This is that list.</_description>
+    </key>
+    <key name="num-of-recent" type="i">
+      <default>12</default>
+      <_summary>Maximum Length of Recently Used Functions List</_summary>
+      <_description>The function selector keeps a list of recently used functions. This is the maximum length of that list.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.autocorrect" path="/apps/gnumeric/autocorrect/">
+    <key name="init-caps" type="b">
+      <default>true</default>
+      <_summary>Autocorrect initial caps</_summary>
+      <_description>Autocorrect initial caps</_description>
+    </key>
+    <key name="first-letter" type="b">
+      <default>true</default>
+      <_summary>Autocorrect first letter</_summary>
+      <_description>Autocorrect first letter</_description>
+    </key>
+    <key name="first-letter-list" type="as">
+      <default>[]</default>
+      <_summary>List of First Letter Exception</_summary>
+      <_description>The autocorrect engine does not correct the first letter for words in this list.</_description>
+    </key>
+    <key name="names-of-days" type="b">
+      <default>true</default>
+      <_summary>Autocorrect names of days</_summary>
+      <_description>Autocorrect names of days</_description>
+    </key>
+    <key name="replace" type="b">
+      <default>true</default>
+      <_summary>Autocorrect replace</_summary>
+      <_description>Autocorrect replace</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.plugins" path="/apps/gnumeric/plugins/">
+    <key name="activate-new" type="b">
+      <default>true</default>
+      <_summary>Activate New Plugins</_summary>
+      <_description>This variable determines whether to activate every new encountered plugin.</_description>
+    </key>
+    <key name="active" type="as">
+      <default>[]</default>
+      <_summary>List of Active Plugins.</_summary>
+      <_description>This list contains all plugins that are supposed to be automatically activated.</_description>
+    </key>
+    <key name="known" type="as">
+      <default>[]</default>
+      <_summary>List of Known Plugins.</_summary>
+      <_description>This list contains all known plugins.</_description>
+    </key>
+    <key name="file-states" type="as">
+      <default>[]</default>
+      <_summary>List of Plugin File States.</_summary>
+      <_description>This list contains all plugin file states.</_description>
+    </key>
+    <key name="extra-dirs" type="as">
+      <default>[]</default>
+      <_summary>List of Extra Plugin Directories.</_summary>
+      <_description>This list contains all extra directories containing plugins.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.autoformat" path="/apps/gnumeric/autoformat/">
+    <key name="extra-dirs" type="as">
+      <default>[]</default>
+      <_summary>List of Extra Autoformat Directories.</_summary>
+      <_description>This list contains all extra directories containing autoformat templates.</_description>
+    </key>
+    <key name="sys-dir" type="s">
+      <default>'autoformat-templates'</default>
+      <_summary>System Directory for Autoformats</_summary>
+      <_description>This directory contains the pre-installed autoformat templates.</_description>
+    </key>
+    <key name="usr-dir" type="s">
+      <default>'autoformat-templates'</default>
+      <_summary>User Directory for Autoformats</_summary>
+      <_description>The main directory for user specific autoformat templates.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.printsetup" path="/apps/gnumeric/printsetup/">
+    <key name="all-sheets" type="b">
+      <default>false</default>
+      <_summary>Apply print-setup to all sheets</_summary>
+      <_description>This value determines whether by default the print set-up dialog applies to all sheets simultaneously.</_description>
+    </key>
+    <key name="gtk-setting" type="as">
+      <default>[]</default>
+      <_summary>GTKPrintSetting</_summary>
+      <_description>The configuration of GTKPrintSetting. Do not edit this variable.</_description>
+    </key>
+    <key name="header" type="as">
+      <default>['','&amp;\[TAB\]','']</default>
+      <_summary>Page Header</_summary>
+      <_description>The default page header for new documents that can be modified using the 
+	page setup dialog.</_description>
+    </key>
+    <key name="footer" type="as">
+      <default>['','Page &amp;\[PAGE\]','']</default>
+      <_summary>Page Footer</_summary>
+      <_description>The default page footer for new documents that can be modified using the 
+	page setup dialog.</_description>
+    </key>
+    <key name="hf-font-size" type="d">
+      <default>10</default>
+      <_summary>Default Header/Footer Font Size</_summary>
+      <_description>The default font size for headers and footers.</_description>
+    </key>
+    <key name="hf-font-name" type="s">
+      <default>'Sans'</default>
+      <_summary>Default header/footer font name</_summary>
+      <_description>The default font name for headers and footers.</_description>
+    </key>
+    <key name="hf-font-bold" type="b">
+      <default>false</default>
+      <_summary>The default header/footer font is bold.</_summary>
+      <_description>This value determines whether the default font for headers and footers is bold.</_description>
+    </key>
+    <key name="hf-font-italic" type="b">
+      <default>false</default>
+      <_summary>The default header/footer font is italic.</_summary>
+      <_description>This value determines whether the default font for headers and footers is italic.</_description>
+    </key>
+    <key name="center-horizontally" type="b">
+      <default>false</default>
+      <_summary>Default Horizontal Centering</_summary>
+      <_description>This value determines whether the default setting in the Print Setup dialog is to center pages horizontally.</_description>
+    </key>
+    <key name="center-vertically" type="b">
+      <default>false</default>
+      <_summary>Default Vertical Centering</_summary>
+      <_description>This value determines whether the default setting in the Print Setup dialog is to center pages vertically.</_description>
+    </key>
+    <key name="print-grid-lines" type="b">
+      <default>false</default>
+      <_summary>Default Grid Line Printing</_summary>
+      <_description>This value determines the default setting in the Print Setup dialog whether print grid lines. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="print-even-if-only-styles" type="b">
+      <default>false</default>
+      <_summary>Default Print Cells with Only Styles</_summary>
+      <_description>This value determines the default setting in the Print Setup dialog whether to print empty but formatted cells. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="print-black-n-white" type="b">
+      <default>false</default>
+      <_summary>Default Black and White Printing</_summary>
+      <_description>This value determines the default setting in the Print Setup dialog whether to print in only black and white. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="print-titles" type="b">
+      <default>false</default>
+      <_summary>Default Title Printing</_summary>
+      <_description>This value determines the default setting in the Print Setup dialog whether to print row and column headers. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="across-then-down" type="b">
+      <default>false</default>
+      <_summary>Default Print Direction</_summary>
+      <_description>This value determines the default setting in the Print Setup dialog whether to print first right then down. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="scale-percentage" type="b">
+      <default>true</default>
+      <_summary>Default Scale Type</_summary>
+      <_description>This value determines the default setting in the Print Setup dialog whether to scale pages by a given percentage. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="scale-percentage-value" type="d">
+      <default>100</default>
+      <_summary>Default Scale Percentage</_summary>
+      <_description>This value gives the percentage by which to scale each printed page. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="scale-width" type="i">
+      <default>0</default>
+      <_summary>Default Scaling Width</_summary>
+      <_description>This value determines the maximum number of pages that make up the width of a printout of the current sheet. The sheet will be reduced to fit within this width. This value can be changed in the Page Setup dialog.</_description>
+    </key>
+    <key name="scale-height" type="i">
+      <default>0</default>
+      <_summary>Default Scaling Height</_summary>
+      <_description>This value determines the maximum number of pages that make up the height of a printout of the current sheet. The sheet will be reduced to fit within this height. This value can be changed in the Page Setup dialog.</_description>
+    </key>
+    <key name="repeat-top" type="s">
+      <default>''</default>
+      <_summary>Default Repeated Top Region</_summary>
+      <_description>This string gives the default region to be repeated at the top of each printed sheet. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="repeat-left" type="s">
+      <default>''</default>
+      <_summary>Default Repeated Left Region</_summary>
+      <_description>This string gives the default region to be repeated at the left of each printed sheet. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="preferred-unit" type="s">
+      <default>'mm'</default>
+      <_summary>Preferred Display Unit</_summary>
+      <_description>This string gives the default unit to be used in the page setup dialog.</_description>
+    </key>
+    <key name="margin-top" type="d">
+      <default>120</default>
+      <_summary>Default Top Margin</_summary>
+      <_description>This value gives the default number of points from the top of a page to the start of the body. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="margin-bottom" type="d">
+      <default>120</default>
+      <_summary>Default Bottom Margin</_summary>
+      <_description>This value gives the default number of points from the bottom of a page to the end of the body. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="margin-gtk-bottom" type="d">
+      <default>72</default>
+      <_summary>Default Bottom Outside Margin</_summary>
+      <_description>This value gives the default number of points from the bottom of a page to the end of the footer. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="margin-gtk-top" type="d">
+      <default>72</default>
+      <_summary>Default Top Outside Margin</_summary>
+      <_description>This value gives the default number of points from the top of a page to the top of the header. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="margin-gtk-left" type="d">
+      <default>72</default>
+      <_summary>Default Left Margin</_summary>
+      <_description>This value gives the default number of points from the left of a page to the left of the body. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="margin-gtk-right" type="d">
+      <default>72</default>
+      <_summary>Default Bottom Margin</_summary>
+      <_description>This value gives the default number of points from the right of a page to the right of the body. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="paper" type="s">
+      <default>''</default>
+      <_summary>Paper</_summary>
+      <_description>This is the default paper specification. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="paper-orientation" type="i">
+      <default>0</default>
+      <_summary>Paper orientation</_summary>
+      <_description>This is the default paper orientation. Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="hf-left" type="as">
+      <default>[]</default>
+      <_summary>Header/Footer Format (Left Portion)</_summary>
+      <_description>Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="hf-middle" type="as">
+      <default>[]</default>
+      <_summary>Header/Footer Format (Middle Portion)</_summary>
+      <_description>Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+    <key name="hf-right" type="as">
+      <default>[]</default>
+      <_summary>Header/Footer Format (Right Portion)</_summary>
+      <_description>Please use the Print Setup dialog to edit this value.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.dialogs.rs" path="/apps/gnumeric/dialogs/rs/">
+    <key name="unfocused" type="b">
+      <default>false</default>
+      <_summary>Allow Unfocused Range Selections</_summary>
+      <_description>Some dialogs contain only a single entry field that allows range selections in the workbook. Setting this variable to TRUE directs selections to this entry even if the entry does not have keyboard focus.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.stf" path="/apps/gnumeric/stf/">
+    <child name="export" schema="org.gnome.gnumeric.stf.export" />
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.stf.export" path="/apps/gnumeric/stf/export/">
+    <key name="stringindicator" type="s">
+      <default>'"'</default>
+      <_summary>Text Export String Indicator</_summary>
+      <_description>Please use the Text Export dialog to edit this value.</_description>
+    </key>
+    <key name="separator" type="s">
+      <default>','</default>
+      <_summary>Text Export Field Separator</_summary>
+      <_description>Please use the Text Export dialog to edit this value.</_description>
+    </key>
+    <key name="terminator" type="s">
+      <default>'&#10;'</default>
+      <_summary>Text Export Record Terminator</_summary>
+      <_description>Please use the Text Export dialog to edit this value.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.searchreplace" path="/apps/gnumeric/searchreplace/">
+    <key name="ignore-case" type="b">
+      <default>true</default>
+      <_summary>Search &amp; Replace Ignores Case</_summary>
+      <_description>Search &amp; Replace ignores case as default</_description>
+    </key>
+    <key name="preserve-case" type="b">
+      <default>false</default>
+      <_summary>Search &amp; Replace Preserves Case</_summary>
+      <_description>Search &amp; Replace preserves case as default</_description>
+    </key>
+    <key name="query" type="b">
+      <default>false</default>
+      <_summary>Search &amp; Replace Poses Query</_summary>
+      <_description>Search &amp; Replace poses query before each change as default</_description>
+    </key>
+    <key name="whole-words-only" type="b">
+      <default>false</default>
+      <_summary>Search &amp; Replace Whole Words Only</_summary>
+      <_description>Search &amp; Replace replaces whole words only as default</_description>
+    </key>
+    <key name="scope" type="i">
+      <default>0</default>
+      <_summary>Search &amp; Replace Scope</_summary>
+      <_description>This is the default scope of Search &amp; Replace. 0: entire workbook; 1: current sheet; 2: range</_description>
+    </key>
+    <key name="change-cell-strings" type="b">
+      <default>true</default>
+      <_summary>Search &amp; Replace Changes Strings</_summary>
+      <_description>Search &amp; Replace changes cells containing strings as default</_description>
+    </key>
+    <key name="change-cell-expressions" type="b">
+      <default>true</default>
+      <_summary>Search &amp; Replace Changes Expressions</_summary>
+      <_description>Search &amp; Replace changes cells containing expressions as default</_description>
+    </key>
+    <key name="change-cell-other" type="b">
+      <default>true</default>
+      <_summary>Search &amp; Replace Changes Other Values</_summary>
+      <_description>Search &amp; Replace changes cells containing other values as default</_description>
+    </key>
+    <key name="change-comments" type="b">
+      <default>false</default>
+      <_summary>Search &amp; Replace Changes Comments</_summary>
+      <_description>Search &amp; Replace changes comments as default</_description>
+    </key>
+    <key name="search-results" type="b">
+      <default>true</default>
+      <_summary>Search searches in results</_summary>
+      <_description>Search searches in results as default</_description>
+    </key>
+    <key name="keep-strings" type="b">
+      <default>true</default>
+      <_summary>Search &amp; Replace Keeps Strings as Strings</_summary>
+      <_description>Search &amp; Replace keeps strings as strings even if they look like numbers as default</_description>
+    </key>
+    <key name="regex" type="i">
+      <default>0</default>
+      <_summary>Search &amp; Replace Search Type</_summary>
+      <_description>This value determines the input type for Search &amp; Replace. 0: text; 1: regular expression; 2: number</_description>
+    </key>
+    <key name="columnmajor" type="b">
+      <default>true</default>
+      <_summary>Search &amp; Replace Column Major</_summary>
+      <_description>Search &amp; Replace proceeds in column major order as default</_description>
+    </key>
+    <key name="error-behaviour" type="i">
+      <default>0</default>
+      <_summary>Search &amp; Replace Error Behavior</_summary>
+      <_description>This is the default error behavior of Search &amp; Replace indicated by an integer from 0 to 4.</_description>
+    </key>
+  </schema>
+</schemalist>  
diff --git a/schemas/org.gnome.gnumeric.gschema.xml.in.in b/schemas/org.gnome.gnumeric.gschema.xml.in.in
new file mode 100644
index 0000000..0a88be5
--- /dev/null
+++ b/schemas/org.gnome.gnumeric.gschema.xml.in.in
@@ -0,0 +1,268 @@
+<schemalist>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric" path="/apps/gnumeric/">
+    <child name="undo" schema="org.gnome.gnumeric.undo"/>
+    <child name="core" schema="org.gnome.gnumeric.core"/>
+    <child name="cut-and-paste" schema="org.gnome.gnumeric.cut-and-paste" />
+    <!-- Override the global setting because our toolbars look terrible with text -->
+    <key name="toolbar-style" type="s">
+      <default>'icons'</default>
+      <_summary>Toolbar Style</_summary>
+      <_description>Toolbar Style. Valid values are both, both_horiz, icon, and text.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.undo" path="/apps/gnumeric/undo/">
+    <key name="show-sheet-name" type="b">
+      <default>false</default>
+      <_summary>Show Sheet Name in Undo List</_summary>
+      <_description>This value determines whether to show the sheet names in the undo and redo lists.</_description>
+    </key>
+    <key name="size" type="i">
+      <default>100</default>
+      <_summary>Maximal Undo Size</_summary>
+      <_description>This value determines the length of the undo chain. Each editing action has a size associate with it, to compare it with the memory requirements of a simple one-cell edit (size of 1). The undo list will be truncated when its total size exceeds this configurable value.</_description>
+    </key>
+    <key name="maxnum" type="i">
+      <default>20</default>
+      <_summary>Number of Undo Items</_summary>
+      <_description>This value determines the maximum number of items in the undo/redo list.</_description>
+    </key>
+    <key name="max-descriptor-width" type="i">
+      <default>40</default>
+      <_summary>Length of the Undo Descriptors</_summary>
+      <_description>This value is indicative of the maximum length of the command descriptors in the undo and redo chains.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core" path="/apps/gnumeric/core/">
+    <child name="defaultfont" schema="org.gnome.gnumeric.core.defaultfont"/>
+    <child name="workbook" schema="org.gnome.gnumeric.core.workbook"/>
+    <child name="gui" schema="org.gnome.gnumeric.core.gui"/>
+    <child name="xml" schema="org.gnome.gnumeric.core.xml" />
+    <child name="file" schema="org.gnome.gnumeric.core.file" />
+   <child name="sort" schema="org.gnome.gnumeric.core.sort" />
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.defaultfont" path="/apps/gnumeric/core/defaultfont/">
+    <key name="size" type="d">
+      <default>10</default>
+      <_summary>Default Font Size</_summary>
+      <_description>The default font size for new workbooks.</_description>
+    </key>
+    <key name="name" type="s">
+      <default>'Sans'</default>
+      <_summary>Default font name</_summary>
+      <_description>The default font name for new workbooks.</_description>
+    </key>
+    <key name="bold" type="b">
+      <default>false</default>
+      <_summary>The default font is bold.</_summary>
+      <_description>This value determines whether the default font for a new workbook is bold.</_description>
+    </key>
+    <key name="italic" type="b">
+      <default>false</default>
+      <_summary>The default font is italic.</_summary>
+      <_description>This value determines whether the default font for a new workbook is italic.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.workbook" path="/apps/gnumeric/core/workbook/">
+    <key name="n-sheet" type="i">
+      <default>3</default>
+      <_summary>Default Number of Sheets</_summary>
+      <_description>The number of sheets initially created in a new workbook.</_description>
+    </key>
+    <key name="n-rows" type="i">
+      <default>65536</default>
+      <_summary>Default Number of rows in a sheet</_summary>
+      <_description>The number of rows in each sheet. This setting will be used only in a new gnumeric session.</_description>
+    </key>
+    <key name="n-cols" type="i">
+      <default>256</default>
+      <_summary>Default Number of columns in a sheet</_summary>
+      <_description>The number of columns in each sheet. This setting will be used only in a new gnumeric session.</_description>
+    </key>
+    <key name="autosave-time" type="i">
+      <default>0</default>
+      <_summary>Autosave frequency</_summary>
+      <_description>The number of seconds between autosaves.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.gui" path="/apps/gnumeric/core/gui/">
+    <child name="screen" schema="org.gnome.gnumeric.core.gui.screen"/>
+    <child name="toolbars" schema="org.gnome.gnumeric.core.gui.toolbars"/>
+    <child name="editing" schema="org.gnome.gnumeric.core.gui.editing"/>
+    <child name="window" schema="org.gnome.gnumeric.core.gui.window"/>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.gui.screen" path="/apps/gnumeric/core/gui/screen/">
+    <key name="horizontaldpi" type="d">
+      <default>96</default>
+      <_summary>Horizontal DPI</_summary>
+      <_description>Screen resolution in the horizontal direction.</_description>
+    </key>
+    <key name="verticaldpi" type="d">
+      <default>96</default>
+      <_summary>Vertical DPI</_summary>
+      <_description>Screen resolution in the vertical direction.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.gui.toolbars" path="/apps/gnumeric/core/gui/toolbars/">
+    <key name="standardtoolbar" type="b">
+      <default>true</default>
+      <_summary>Standard toolbar visible</_summary>
+      <_description>This variable determines whether the standard toolbar should be visible initially.</_description>
+    </key>
+    <key name="standardtoolbar-position" type="i">
+      <default>2</default>
+      <_summary>Standard toolbar position</_summary>
+      <_description>This variable determines where the standard toolbar should be shown.  0 is left, 1 is right, 2 is top.</_description>
+    </key>
+    <key name="formattoolbar" type="b">
+      <default>true</default>
+      <_summary>Format toolbar visible</_summary>
+      <_description>This variable determines whether the format toolbar should be visible initially.</_description>
+    </key>
+    <key name="formattoolbar-position" type="i">
+      <default>2</default>
+      <_summary>Format toolbar position</_summary>
+      <_description>This variable determines where the format toolbar should be shown.  0 is left, 1 is right, 2 is top.</_description>
+    </key>
+    <key name="longformattoolbar" type="b">
+      <default>true</default>
+      <_summary>Long format toolbar visible</_summary>
+      <_description>This variable determines whether the long format toolbar should be visible initially.</_description>
+    </key>
+    <key name="longformattoolbar-position" type="i">
+      <default>2</default>
+      <_summary>Long format toolbar position</_summary>
+      <_description>This variable determines where the long format toolbar should be shown.  0 is left, 1 is right, 2 is top.</_description>
+    </key>
+    <key name="objecttoolbar" type="b">
+      <default>true</default>
+      <_summary>Object toolbar visible</_summary>
+      <_description>This variable determines whether the object toolbar should be visible initially.</_description>
+    </key>
+    <key name="objecttoolbar-position" type="i">
+      <default>2</default>
+      <_summary>Object toolbar position</_summary>
+      <_description>This variable determines where the object toolbar should be shown.  0 is left, 1 is right, 2 is top.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.gui.editing" path="/apps/gnumeric/core/gui/editing/">
+    <key name="autocomplete" type="b">
+      <default>true</default>
+      <_summary>Autocomplete</_summary>
+      <_description>This variable determines whether autocompletion is set on.</_description>
+    </key>
+    <key name="function-name-tooltips" type="b">
+      <default>true</default>
+      <_summary>Show Function Name Tooltips</_summary>
+      <_description>This variable determines whether to show function name tooltips.</_description>
+    </key>
+    <key name="function-argument-tooltips" type="b">
+      <default>true</default>
+      <_summary>Show Function Argument Tooltips</_summary>
+      <_description>This variable determines whether to show function argument tooltips.</_description>
+    </key>
+    <key name="enter-moves-dir" type="s">
+      <default>'down'</default>
+      <_summary>Enter Direction</_summary>
+      <_description>Which direction pressing Enter will move the edit position.</_description>
+    </key>
+    <key name="livescrolling" type="b">
+      <default>true</default>
+      <_summary>Live Scrolling</_summary>
+      <_description>This variable determines whether live (versus delayed) scrolling is performed.</_description>
+    </key>
+    <key name="recalclag" type="i">
+      <default>200</default>
+      <_summary>Auto Expression Recalculation Lag</_summary>
+      <_description>If `lag' is 0, gnumeric recalculates all auto expressions immediately after every change.  Non-zero values of `lag' allow gnumeric to accumulate more changes before each recalculation.
+If `lag' is positive, then whenever a change appears, gnumeric waits `lag'
+milleseconds and then recalculates; if more changes appear during that period,
+they are also processed at that time. If `lag' is negative, then recalculation happens only after a quiet period of
+|lag| milleseconds.</_description>
+    </key>
+    <key name="transitionkeys" type="b">
+      <default>false</default>
+      <_summary>>Transition Keys</_summary>
+      <_description>This variable determines whether transition keys are set on. Transition keys are a throw back to 1-2-3 style event handling.
+	     They turn Ctrl-arrow into page movement rather than jumping to the start/end of series.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.gui.window" path="/apps/gnumeric/core/gui/window/">
+    <key name="x" type="d">
+      <default>0.75</default>
+      <_summary>Default Horizontal Window Size</_summary>
+      <_description>This number (between 0.25 and 1.00) gives the horizontal fraction of the screen size covered by the default window.</_description>
+    </key>
+    <key name="y" type="d">
+      <default>0.75</default>
+      <_summary>Default Vertical Window Size</_summary>
+      <_description>This number (between 0.25 and 1.00) gives the vertical fraction of the screen size covered by the default window.</_description>
+    </key>
+    <key name="zoom" type="d">
+      <default>1</default>
+      <_summary>Default Zoom Factor</_summary>
+      <_description>The initial zoom factor for new workbooks.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.xml" path="/apps/gnumeric/core/xml/">
+    <key name="compression-level" type="i">
+      <default>9</default>
+      <_summary>Default Compression Level For Gnumeric Files</_summary>
+      <_description>This integer (between 0 and 9) specifies the amount of compression performed by Gnumeric when saving files in the default file format. 0 is minimal compression while 9 is maximal compression.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.file" path="/apps/gnumeric/core/file/">
+    <child name="save" schema="org.gnome.gnumeric.core.file.save" />
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.file.save" path="/apps/gnumeric/core/file/save/">
+    <key name="single-sheet" type="b">
+      <default>true</default>
+      <_summary>Warn When Exporting Into Single Sheet Format</_summary>
+      <_description>Some file formats can contain only a single sheet. This variable determines whether the user will be warned if only a single sheet of a multi-sheet workbook is being saved.</_description>
+    </key>
+    <key name="def-overwrite" type="b">
+      <default>false</default>
+      <_summary>Default To Overwriting Files</_summary>
+      <_description>Before an existing file is being overwritten, gnumeric will present a warning dialog. Setting this option will make the overwrite button in that dialog the default button.</_description>
+    </key>
+    <key name="extension-check-disabled" type="as">
+      <default>[]</default>
+      <_summary>List of file savers with disabled extension check.</_summary>
+      <_description>This list contains the ids of the file savers for which the extension check is disabled.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.sort" path="/apps/gnumeric/core/sort/">
+    <child name="default" schema="org.gnome.gnumeric.core.sort.default" />
+    <child name="dialog" schema="org.gnome.gnumeric.core.sort.dialog" />
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.sort.default" path="/apps/gnumeric/core/sort/default/">
+    <key name="by-case" type="b">
+      <default>false</default>
+      <_summary>Sort is Case-Sensitive</_summary>
+      <_description>Setting this option will cause the sort buttons on the toolbar to perform a case-sensitive sort and determine the initial state of the case-sensitive checkbox in the sort dialog.</_description>
+    </key>
+    <key name="retain-formats" type="b">
+      <default>true</default>
+      <_summary>Sorting Preserves Formats</_summary>
+      <_description>Setting this option will cause the sort buttons on the toolbar to preserve the cell formats while sorting and determines the initial state of the preserve-formats checkbox in the sort dialog.</_description>
+    </key>
+    <key name="ascending" type="b">
+      <default>true</default>
+      <_summary>Sort Ascending</_summary>
+      <_description>This option determines the initial state of the sort-order button in the sort dialog.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.core.sort.dialog" path="/apps/gnumeric/core/sort/dialog/">
+    <key name="max-initial-clauses" type="i">
+      <default>10</default>
+      <_summary>Number of Automatic Clauses</_summary>
+      <_description>When selecting a sort region in the sort dialog, sort clauses are automatically added. This number determines the maximum number of clauses to be added automatically.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.cut-and-paste" path="/apps/gnumeric/cut-and-paste/">
+    <key name="prefer-clipboard" type="b">
+      <default>true</default>
+      <_summary>Prefer CLIPBOARD over PRIMARY selection</_summary>
+      <_description>When TRUE, Gnumeric will prefer the modern CLIPBOARD selection over the legacy PRIMARY selections.  Set to FALSE if you have to deal with older applications, like Xterm or Emacs, which set only the PRIMARY selection.</_description>
+    </key>
+  </schema>
+</schemalist>
diff --git a/schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in b/schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in
new file mode 100644
index 0000000..141d2a8
--- /dev/null
+++ b/schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in
@@ -0,0 +1,28 @@
+<schemalist>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.plugin" path="/apps/gnumeric/plugin/">
+    <child name="latex" schema="org.gnome.gnumeric.plugin.latex"/>
+    <child name="lpsolve" schema="org.gnome.gnumeric.plugin.lpsolve"/>
+    <child name="glpk" schema="org.gnome.gnumeric.plugin.glpk"/>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.plugin.latex" path="/apps/gnumeric/plugin/latex/">
+    <key name="use-utf8" type="b">
+      <default>false</default>
+      <_summary>Use UTF-8 in LaTeX Export</_summary>
+      <_description>This setting determines whether created LaTeX files use UTF-8 (unicode) or ISO-8859-1 (Latin1). To use the UTF-8 files, you must have the ucs LaTeX package installed.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.plugin.lpsolve" path="/apps/gnumeric/plugin/lpsolve/">
+    <key name="lpsolve-path" type="s">
+      <default>''</default>
+      <_summary>Full path of lp_solve program to use</_summary>
+      <_description>This is the full path to the lp_solve binary that the lpsolve plugin should use.</_description>
+    </key>
+  </schema>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnumeric.plugin.glpk" path="/apps/gnumeric/plugin/glpk/">
+    <key name="glpsol-path" type="s">
+      <default>''</default>
+      <_summary>Full path of glpsol program to use</_summary>
+      <_description>This is the full path to the glpsol binary that the lpsolve plugin should use.</_description>
+    </key>
+  </schema>
+</schemalist>



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