[gnumeric] Conf: update from schemas.



commit d6eb27bd960988768ea55b66bd7ccfed92b36ff0
Author: Morten Welinder <terra gnome org>
Date:   Wed Oct 26 10:39:39 2011 -0400

    Conf: update from schemas.

 src/gnumeric-gconf.c |   40 +++++++++++++++++++++++-----------------
 src/gnumeric-gconf.h |    1 +
 2 files changed, 24 insertions(+), 17 deletions(-)
---
diff --git a/src/gnumeric-gconf.c b/src/gnumeric-gconf.c
index e53d071..3d4090e 100644
--- a/src/gnumeric-gconf.c
+++ b/src/gnumeric-gconf.c
@@ -1077,55 +1077,55 @@ gnm_conf_get_core_file_save_single_sheet_node (void)
 }
 
 static struct cb_watch_bool watch_core_gui_cells_extension_markers = {
-        0, "core/gui/cells/extension_markers", FALSE,
+	0, "core/gui/cells/extension_markers", FALSE,
 };
 
 gboolean
 gnm_conf_get_core_gui_cells_extension_markers (void)
 {
-        if (!watch_core_gui_cells_extension_markers.handler)
-                watch_bool (&watch_core_gui_cells_extension_markers);
-        return watch_core_gui_cells_extension_markers.var;
+	if (!watch_core_gui_cells_extension_markers.handler)
+		watch_bool (&watch_core_gui_cells_extension_markers);
+	return watch_core_gui_cells_extension_markers.var;
 }
 
 void
 gnm_conf_set_core_gui_cells_extension_markers (gboolean x)
 {
-        if (!watch_core_gui_cells_extension_markers.handler)
-                watch_bool (&watch_core_gui_cells_extension_markers);
-        set_bool (&watch_core_gui_cells_extension_markers, x);
+	if (!watch_core_gui_cells_extension_markers.handler)
+		watch_bool (&watch_core_gui_cells_extension_markers);
+	set_bool (&watch_core_gui_cells_extension_markers, x);
 }
 
 GOConfNode *
 gnm_conf_get_core_gui_cells_extension_markers_node (void)
 {
-        return get_node (watch_core_gui_cells_extension_markers.key);
+	return get_node (watch_core_gui_cells_extension_markers.key);
 }
 
 static struct cb_watch_bool watch_core_gui_cells_function_markers = {
-        0, "core/gui/cells/function_markers", FALSE,
+	0, "core/gui/cells/function_markers", FALSE,
 };
 
 gboolean
 gnm_conf_get_core_gui_cells_function_markers (void)
 {
-        if (!watch_core_gui_cells_function_markers.handler)
-                watch_bool (&watch_core_gui_cells_function_markers);
-        return watch_core_gui_cells_function_markers.var;
+	if (!watch_core_gui_cells_function_markers.handler)
+		watch_bool (&watch_core_gui_cells_function_markers);
+	return watch_core_gui_cells_function_markers.var;
 }
 
 void
 gnm_conf_set_core_gui_cells_function_markers (gboolean x)
 {
-        if (!watch_core_gui_cells_function_markers.handler)
-                watch_bool (&watch_core_gui_cells_function_markers);
-        set_bool (&watch_core_gui_cells_function_markers, x);
+	if (!watch_core_gui_cells_function_markers.handler)
+		watch_bool (&watch_core_gui_cells_function_markers);
+	set_bool (&watch_core_gui_cells_function_markers, x);
 }
 
 GOConfNode *
 gnm_conf_get_core_gui_cells_function_markers_node (void)
 {
-        return get_node (watch_core_gui_cells_function_markers.key);
+	return get_node (watch_core_gui_cells_function_markers.key);
 }
 
 static struct cb_watch_bool watch_core_gui_editing_autocomplete = {
@@ -1987,7 +1987,7 @@ gnm_conf_get_functionselector_recentfunctions_node (void)
 }
 
 static struct cb_watch_string watch_plugin_glpk_glpsol_path = {
-	0, "plugin/glpk/glpk-path", "",
+	0, "plugin/glpk/glpsol-path", "",
 };
 
 const char *
@@ -3632,6 +3632,12 @@ gnm_conf_get_core_file_save_dir_node (void)
 }
 
 GOConfNode *
+gnm_conf_get_core_gui_cells_dir_node (void)
+{
+	return get_node ("core/gui/cells");
+}
+
+GOConfNode *
 gnm_conf_get_core_gui_editing_dir_node (void)
 {
 	return get_node ("core/gui/editing");
diff --git a/src/gnumeric-gconf.h b/src/gnumeric-gconf.h
index f9559fc..92284d0 100644
--- a/src/gnumeric-gconf.h
+++ b/src/gnumeric-gconf.h
@@ -489,6 +489,7 @@ GOConfNode *gnm_conf_get_autocorrect_dir_node (void);
 GOConfNode *gnm_conf_get_autoformat_dir_node (void);
 GOConfNode *gnm_conf_get_core_defaultfont_dir_node (void);
 GOConfNode *gnm_conf_get_core_file_save_dir_node (void);
+GOConfNode *gnm_conf_get_core_gui_cells_dir_node (void);
 GOConfNode *gnm_conf_get_core_gui_editing_dir_node (void);
 GOConfNode *gnm_conf_get_core_gui_screen_dir_node (void);
 GOConfNode *gnm_conf_get_core_gui_toolbars_dir_node (void);



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