[goffice] Fixed typos in translated string. [#681779][681811][681812]
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Fixed typos in translated string. [#681779][681811][681812]
- Date: Wed, 15 Aug 2012 12:43:10 +0000 (UTC)
commit 0b8dfe3162784fceb89909f592421a12b2cf46da
Author: Jean Brefort <jean brefort normalesup org>
Date: Wed Aug 15 14:42:47 2012 +0200
Fixed typos in translated string. [#681779][681811][681812]
NEWS | 1 +
goffice/app/go-plugin-loader.c | 16 ++++++
goffice/app/go-plugin-service.c | 37 ++++++++++++++
goffice/app/go-plugin.c | 22 ++++----
goffice/graph/gog-axis-line.c | 2 +-
goffice/graph/gog-label.c | 4 +-
goffice/graph/gog-plot.c | 4 +-
goffice/gtk/go-3d-rotation-sel.ui | 2 +-
goffice/gtk/go-color-palette.c | 4 +-
goffice/gtk/go-format-sel.ui | 2 +-
goffice/gtk/go-image-save-dialog-extra.ui | 2 +-
goffice/gtk/go-image-sel.ui | 2 +-
goffice/gtk/go-rotation-sel.ui | 2 +-
goffice/gtk/go-selector.c | 5 ++
goffice/math/go-regression.c | 53 ++++++++++++++++++++
goffice/math/go-regression.h | 2 +
goffice/utils/go-path.c | 13 +++++
goffice/utils/go-pattern.c | 37 ++++++++++++++
goffice/utils/go-persist.c | 8 +++
goffice/utils/go-style-prefs.ui | 2 +-
plugins/plot_barcol/gog-area-prefs.ui | 2 +-
plugins/plot_barcol/gog-barcol-prefs.ui | 2 +-
plugins/plot_distrib/gog-boxplot-prefs.ui | 2 +-
plugins/plot_distrib/gog-double-histogram-prefs.ui | 2 +-
plugins/plot_distrib/gog-histogram-prefs.ui | 2 +-
plugins/plot_pie/gog-pie-prefs.ui | 2 +-
plugins/plot_pie/gog-pie-series.ui | 2 +-
plugins/plot_pie/gog-ring-prefs.ui | 2 +-
plugins/plot_radar/gog-polar-prefs.ui | 2 +-
plugins/plot_surface/gog-xyz-surface.c | 4 +-
plugins/plot_xy/gog-xy-dropbar-prefs.ui | 2 +-
plugins/plot_xy/gog-xy-dropbar.c | 2 +-
plugins/plot_xy/gog-xy-prefs.ui | 2 +-
plugins/plot_xy/gog-xy-series-prefs.ui | 11 +++--
plugins/smoothing/gog-exp-smooth.c | 2 +-
plugins/smoothing/gog-moving-avg.ui | 2 +-
36 files changed, 219 insertions(+), 44 deletions(-)
---
diff --git a/NEWS b/NEWS
index c0db9a2..c35aace 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ Jean:
* Save axis Id for all axes, not only X and Y. [#680739]
* Fix strings inconsistencies (3d vs. 3D). [#681777]
* Fix a crash for infinite values in XYZ contour plots. [#841840]
+ * Fixed typos in translated string. [#681779][681811][681812]
Morten:
* Minute accuracy improvement to matrix inversion.
diff --git a/goffice/app/go-plugin-loader.c b/goffice/app/go-plugin-loader.c
index f4ba8da..d01b0e0 100644
--- a/goffice/app/go-plugin-loader.c
+++ b/goffice/app/go-plugin-loader.c
@@ -30,6 +30,22 @@
#define PL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GO_TYPE_PLUGIN_LOADER, GOPluginLoaderClass))
+/**
+ * GOPluginLoaderClass:
+ * @base: base interface.
+ * @load_base: loads the plugin without activating any service.
+ * @unload_base: unloads the plugin if possible.
+ * @set_attributes: sets attiributes for the module.
+ * @service_load: loads a service.
+ * @service_unload: unloads a service if possible.
+ * @load_service_file_opener: loads a file opener service.
+ * @unload_service_file_opener: unloads a file opener service.
+ * @load_service_file_saver: loads a file saver service.
+ * @unload_service_file_saver: unloads a file saver service.
+ * @load_service_plugin_loader: loads a plugin loader service.
+ * @unload_service_plugin_loader: unloads a plugin loader service.
+ **/
+
gboolean
go_plugin_loader_is_base_loaded (GOPluginLoader *loader)
{
diff --git a/goffice/app/go-plugin-service.c b/goffice/app/go-plugin-service.c
index d7d1bf8..84922d0 100644
--- a/goffice/app/go-plugin-service.c
+++ b/goffice/app/go-plugin-service.c
@@ -41,6 +41,43 @@
#include <string.h>
+/**
+ * GOPluginServiceFileOpenerCallbacks:
+ * @plugin_func_file_probe: probes the file, may be %NULL.
+ * @plugin_func_file_open: opens and reads the file.
+ **/
+
+/**
+ * GOPluginServiceFileSaverCallbacks:
+ * @plugin_func_file_save: saves the file.
+ **/
+
+/**
+ * GOPluginServiceGeneralCallbacks:
+ * @plugin_func_init: initializes the service.
+ * @plugin_func_cleanup: service cleanup.
+ **/
+
+/**
+ * GOPluginServicePluginLoaderCallbacks:
+ * @plugin_func_get_loader_type: returns a #GType for a function loader.
+ * Used by gnumeric in the Python and Perl plugins.
+ **/
+
+/**
+ * GOPluginServiceClass:
+ * @read_xml: read XML node containing the service description.
+ * @activate: actviates the service.
+ * @deactivate: deactivates the service.
+ * @get_description: gets the service description.
+ **/
+
+/**
+ * GOPluginServiceGObjectLoaderClass:
+ * @plugin_service_class: parent class.
+ * @pending: has service instances by type names.
+ **/
+
#define CXML2C(s) ((char const *)(s))
#define CC2XML(s) ((xmlChar const *)(s))
diff --git a/goffice/app/go-plugin.c b/goffice/app/go-plugin.c
index 43f371b..32e488a 100644
--- a/goffice/app/go-plugin.c
+++ b/goffice/app/go-plugin.c
@@ -61,7 +61,7 @@
/**
* GOPluginModuleDepend:
* @key: object being versioned.
- * @version: version id (strict equality is required).
+ * @version: version ID (strict equality is required).
**/
/**
* GOPluginModuleHeader:
@@ -358,7 +358,7 @@ go_plugin_read_full_info_if_needed_go_error_info_ (GOPlugin *plugin, GOErrorInfo
old_dir_name = plugin->dir_name;
go_plugin_read (plugin, old_dir_name, &read_error);
if (read_error == NULL && strcmp (plugin->id, old_id) == 0) {
- /* id and dir_name pointers are guaranteed to be valid during plugin's lifetime */
+ /* ID and dir_name pointers are guaranteed to be valid during plugin's lifetime */
g_free (plugin->id);
g_free (plugin->dir_name);
plugin->id = old_id;
@@ -368,7 +368,7 @@ go_plugin_read_full_info_if_needed_go_error_info_ (GOPlugin *plugin, GOErrorInfo
go_plugin_message (1, "Can't read plugin.xml file for %s.\n", old_id);
if (read_error == NULL) {
read_error = go_error_info_new_printf (
- _("File contains plugin info with invalid id (%s), expected %s."),
+ _("File contains plugin info with invalid ID (%s), expected %s."),
plugin->id, old_id);
}
*ret_error = go_error_info_new_str_with_details (
@@ -564,7 +564,7 @@ go_plugin_is_loaded (GOPlugin *plugin)
* @service: Plugin service of type "plugin_loader"
*
* Registers new type of plugin loader identified by @loader_id (identifier
- * consists of loader's plugin id and service id concatenated using colon).
+ * consists of loader's plugin ID and service ID concatenated using colon).
* All requests to create new loader object of this type will be passed to
* @service.
*
@@ -867,7 +867,7 @@ go_plugin_read (GOPlugin *plugin, gchar const *dir_name, GOErrorInfo **ret_error
if (services_error != NULL) {
*ret_error = go_error_info_new_printf (
- _("Errors while reading services for plugin with id=\"%s\"."),
+ _("Errors while reading services for plugin with ID=\"%s\"."),
id);
go_error_info_add_details (*ret_error, services_error);
} else
@@ -879,7 +879,7 @@ go_plugin_read (GOPlugin *plugin, gchar const *dir_name, GOErrorInfo **ret_error
if (id[strspn (id, PLUGIN_ID_VALID_CHARS)] != '\0') {
GO_SLIST_PREPEND (error_list, go_error_info_new_printf (
- _("Plugin id contains invalid characters (%s)."), id));
+ _("Plugin ID contains invalid characters (%s)."), id));
}
if (name == NULL) {
GO_SLIST_PREPEND (error_list, go_error_info_new_str (
@@ -887,7 +887,7 @@ go_plugin_read (GOPlugin *plugin, gchar const *dir_name, GOErrorInfo **ret_error
}
if (loader_id == NULL) {
GO_SLIST_PREPEND (error_list, go_error_info_new_printf (
- _("No loader defined or loader id invalid for plugin with id=\"%s\"."), id));
+ _("No loader defined or loader ID invalid for plugin with ID=\"%s\"."), id));
}
g_assert (error_list != NULL);
GO_SLIST_REVERSE (error_list);
@@ -989,13 +989,13 @@ go_plugin_activate (GOPlugin *plugin, GOErrorInfo **ret_error)
GOErrorInfo *new_error;
new_error = go_error_info_new_printf (
- _("Couldn't activate plugin with id=\"%s\"."), dep->plugin_id);
+ _("Couldn't activate plugin with ID=\"%s\"."), dep->plugin_id);
go_error_info_add_details (new_error, dep_error);
GO_SLIST_PREPEND (error_list, new_error);
}
} else {
GO_SLIST_PREPEND (error_list, go_error_info_new_printf (
- _("Couldn't find plugin with id=\"%s\"."), dep->plugin_id));
+ _("Couldn't find plugin with ID=\"%s\"."), dep->plugin_id));
}
);
g_assert (activate_stack != NULL && activate_stack->data == plugin);
@@ -1167,13 +1167,13 @@ go_plugin_load_base (GOPlugin *plugin, GOErrorInfo **ret_error)
GOErrorInfo *new_error;
new_error = go_error_info_new_printf (
- _("Couldn't load plugin with id=\"%s\"."), dep->plugin_id);
+ _("Couldn't load plugin with ID=\"%s\"."), dep->plugin_id);
go_error_info_add_details (new_error, dep_error);
GO_SLIST_PREPEND (error_list, new_error);
}
} else {
GO_SLIST_PREPEND (error_list, go_error_info_new_printf (
- _("Couldn't find plugin with id=\"%s\"."), dep->plugin_id));
+ _("Couldn't find plugin with ID=\"%s\"."), dep->plugin_id));
}
);
g_assert (load_stack != NULL && load_stack->data == plugin);
diff --git a/goffice/graph/gog-axis-line.c b/goffice/graph/gog-axis-line.c
index 0821cf9..8e18dc0 100644
--- a/goffice/graph/gog-axis-line.c
+++ b/goffice/graph/gog-axis-line.c
@@ -729,7 +729,7 @@ gog_axis_base_class_init (GObjectClass *gobject_klass)
g_object_class_install_property (gobject_klass, AXIS_BASE_PROP_CROSS_AXIS_ID,
g_param_spec_uint ("cross-axis-id",
- _("Cross axis id"),
+ _("Cross axis ID"),
_("Which axis to cross"),
0, G_MAXUINT, 0,
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
diff --git a/goffice/graph/gog-label.c b/goffice/graph/gog-label.c
index d30b684..9b8455c 100644
--- a/goffice/graph/gog-label.c
+++ b/goffice/graph/gog-label.c
@@ -147,7 +147,7 @@ gog_text_class_init (GogTextClass *klass)
g_object_class_install_property (gobject_klass, TEXT_PROP_ALLOW_MARKUP,
g_param_spec_boolean ("allow-markup",
_("Allow markup"),
- _("Support basic html-ish markup"),
+ _("Support basic HTML-ish markup"),
FALSE,
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
@@ -304,7 +304,7 @@ gog_label_populate_editor (GogObject *gobj,
g_signal_connect (w, "toggled", G_CALLBACK (rotate_bg_cb), gobj);
gtk_grid_attach (GTK_GRID (grid), w, 0, 3, 2, 1);
w = gtk_check_button_new_with_label (_("Interpret text as markup"));
- gtk_widget_set_tooltip_text (w, _("Interpret the text as an html like markup as described at http://developer.gnome.org/pango/stable/PangoMarkupFormat.html"));
+ gtk_widget_set_tooltip_text (w, _("Interpret the text as an HTML like markup as described at http://developer.gnome.org/pango/stable/PangoMarkupFormat.html"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), GOG_TEXT (gobj)->allow_markup);
g_signal_connect (w, "toggled", G_CALLBACK (allow_markup_cb), gobj);
gtk_grid_attach (GTK_GRID (grid), w, 0, 4, 2, 1);
diff --git a/goffice/graph/gog-plot.c b/goffice/graph/gog-plot.c
index 7ba5f56..5801dfa 100644
--- a/goffice/graph/gog-plot.c
+++ b/goffice/graph/gog-plot.c
@@ -456,7 +456,7 @@ gog_plot_class_init (GogObjectClass *gog_klass)
g_object_class_install_property (gobject_klass, PLOT_PROP_VARY_STYLE_BY_ELEMENT,
g_param_spec_boolean ("vary-style-by-element",
_("Vary style by element"),
- _("Use a different style for each segments"),
+ _("Use a different style for each segment"),
FALSE,
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT | GOG_PARAM_FORCE_SAVE));
g_object_class_install_property (gobject_klass, PLOT_PROP_AXIS_X,
@@ -504,7 +504,7 @@ gog_plot_class_init (GogObjectClass *gog_klass)
g_object_class_install_property (gobject_klass, PLOT_PROP_AXIS_BUBBLE,
g_param_spec_uint ("bubble-axis",
_("Bubble axis"),
- _("Reference to buccle axis"),
+ _("Reference to bubble axis"),
0, G_MAXINT, 0,
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
g_object_class_install_property (gobject_klass, PLOT_PROP_GROUP,
diff --git a/goffice/gtk/go-3d-rotation-sel.ui b/goffice/gtk/go-3d-rotation-sel.ui
index 605b68f..d083b92 100644
--- a/goffice/gtk/go-3d-rotation-sel.ui
+++ b/goffice/gtk/go-3d-rotation-sel.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">90</property>
<property name="step_increment">1</property>
diff --git a/goffice/gtk/go-color-palette.c b/goffice/gtk/go-color-palette.c
index 837eee7..858ac46 100644
--- a/goffice/gtk/go-color-palette.c
+++ b/goffice/gtk/go-color-palette.c
@@ -472,7 +472,7 @@ custom_colors :
&color_name, col, row + 1);
}
- w = go_gtk_button_build_with_stock (_("Custom Color..."),
+ w = go_gtk_button_build_with_stock (_("Custom color..."),
GTK_STOCK_SELECT_COLOR);
gtk_button_set_alignment (GTK_BUTTON (w), 0., .5);
gtk_table_attach (GTK_TABLE (table), w, 0, cols,
@@ -726,7 +726,7 @@ custom_colors :
"activate",
G_CALLBACK (cb_menu_color_activate), submenu);
}
- w = gtk_image_menu_item_new_with_label (_("Custom Color..."));
+ w = gtk_image_menu_item_new_with_label (_("Custom color..."));
/* Workaround for bug http://bugzilla.gnome.org/show_bug.cgi?id=585421 */
/* We can't have an image in one of the gtk_menu_item, it would lead to an
ugly item spacing. */
diff --git a/goffice/gtk/go-format-sel.ui b/goffice/gtk/go-format-sel.ui
index 2cf0b85..621688e 100644
--- a/goffice/gtk/go-format-sel.ui
+++ b/goffice/gtk/go-format-sel.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">30</property>
<property name="step_increment">1</property>
diff --git a/goffice/gtk/go-image-save-dialog-extra.ui b/goffice/gtk/go-image-save-dialog-extra.ui
index e7bcca5..fba8ba3 100644
--- a/goffice/gtk/go-image-save-dialog-extra.ui
+++ b/goffice/gtk/go-image-save-dialog-extra.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="value">150</property>
diff --git a/goffice/gtk/go-image-sel.ui b/goffice/gtk/go-image-sel.ui
index 7b07b29..5b819fb 100644
--- a/goffice/gtk/go-image-sel.ui
+++ b/goffice/gtk/go-image-sel.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<object class="GtkDialog" id="go-image-sel">
<property name="can_focus">False</property>
<property name="border_width">5</property>
diff --git a/goffice/gtk/go-rotation-sel.ui b/goffice/gtk/go-rotation-sel.ui
index e13e141..1176e5b 100644
--- a/goffice/gtk/go-rotation-sel.ui
+++ b/goffice/gtk/go-rotation-sel.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">-90</property>
diff --git a/goffice/gtk/go-selector.c b/goffice/gtk/go-selector.c
index 9e9dd08..ffe064b 100644
--- a/goffice/gtk/go-selector.c
+++ b/goffice/gtk/go-selector.c
@@ -28,6 +28,11 @@
#include <gdk/gdkkeysyms.h>
+/**
+ * GOSelectorClass:
+ * @parent_class: parent class.
+ **/
+
enum {
GO_SELECTOR_ACTIVATE,
GO_SELECTOR_LAST_SIGNAL
diff --git a/goffice/math/go-regression.c b/goffice/math/go-regression.c
index 7c42a20..bffee08 100644
--- a/goffice/math/go-regression.c
+++ b/goffice/math/go-regression.c
@@ -32,6 +32,59 @@
#include <stdlib.h>
#include <stdio.h>
+/**
+ * GORegressionResult:
+ * @GO_REG_ok: success.
+ * @GO_REG_invalid_dimensions: invalid dimensions.
+ * @GO_REG_invalid_data: invalid data:
+ * @GO_REG_not_enough_data: not enough data.
+ * @GO_REG_near_singular_good: probably good result.
+ * @GO_REG_near_singular_bad: probably bad result.
+ * @GO_REG_singular: singularity found.
+ **/
+
+/**
+ * go_regression_stat_t:
+ * @se: SE for each parameter estimator.
+ * @t: t values for each parameter estimator.
+ * @sqr_r: squared R.
+ * @adj_sqr_r:
+ * @se_y: the Standard Error of Y.
+ * @F:
+ * @df_reg:
+ * @df_resid:
+ * @df_total:
+ * @ss_reg:
+ * @ss_resid:
+ * @ss_total:
+ * @ms_reg:
+ * @ms_resid:
+ * @ybar:
+ * @xbar:
+ * @var: the variance of the entire regression: sum(errors^2)/(n-xdim).
+ **/
+
+/**
+ * go_regression_stat_tl:
+ * @se: SE for each parameter estimator.
+ * @t: t values for each parameter estimator.
+ * @sqr_r: squared R.
+ * @adj_sqr_r:
+ * @se_y: the Standard Error of Y.
+ * @F:
+ * @df_reg:
+ * @df_resid:
+ * @df_total:
+ * @ss_reg:
+ * @ss_resid:
+ * @ss_total:
+ * @ms_reg:
+ * @ms_resid:
+ * @ybar:
+ * @xbar:
+ * @var: the variance of the entire regression: sum(errors^2)/(n-xdim).
+ **/
+
/* ------------------------------------------------------------------------- */
/* Self-inclusion magic. */
diff --git a/goffice/math/go-regression.h b/goffice/math/go-regression.h
index 0e0b286..40c7aad 100644
--- a/goffice/math/go-regression.h
+++ b/goffice/math/go-regression.h
@@ -34,6 +34,7 @@ typedef struct {
double ybar;
double *xbar;
double var; /* The variance of the entire regression: sum(errors^2)/(n-xdim) */
+ /*<private>*/
unsigned ref_count;
} go_regression_stat_t;
#define GORegressionStat go_regression_stat_t
@@ -128,6 +129,7 @@ typedef struct {
long double *xbar;
long double var; /* The variance of the entire regression:
sum(errors^2)/(n-xdim) */
+ /*<private>*/
unsigned ref_count;
} go_regression_stat_tl;
#define GORegressionStatl go_regression_stat_tl
diff --git a/goffice/utils/go-path.c b/goffice/utils/go-path.c
index bc265c7..5ccebad 100644
--- a/goffice/utils/go-path.c
+++ b/goffice/utils/go-path.c
@@ -99,6 +99,18 @@
* @GO_PATH_OPTIONS_SHARP: use raw coordinates.
**/
+/**
+ * GOPathPoint:
+ * @x: horizontal position.
+ * @y: vertical dimension.
+ **/
+
+/**
+ * GOPathDirection:
+ * @GO_PATH_DIRECTION_FORWARD: go through the pass from start to end.
+ * @GO_PATH_DIRECTION_BACKWARD: go through the pass from end to start.
+ **/
+
#define GO_PATH_DEFAULT_BUFFER_SIZE 64
typedef struct _GOPathData GOPathData;
@@ -277,6 +289,7 @@ go_path_free (GOPath *path)
* @path: a #GOPath
*
* Increments references count to @path.
+ * Returns: the path with an incremented references count.
**/
GOPath *
diff --git a/goffice/utils/go-pattern.c b/goffice/utils/go-pattern.c
index 55c97c4..425c6a4 100644
--- a/goffice/utils/go-pattern.c
+++ b/goffice/utils/go-pattern.c
@@ -32,6 +32,43 @@
#define CC2XML(s) ((const xmlChar *)(s))
#define CXML2C(s) ((const char *)(s))
+/**
+ * GOPatternType:
+ * @GO_PATTERN_SOLID: solid using background color.
+ * @GO_PATTERN_GREY75: 75% background color.
+ * @GO_PATTERN_GREY50: 50% background color.
+ * @GO_PATTERN_GREY25: 25% background color.
+ * @GO_PATTERN_GREY125: 12.5% background color.
+ * @GO_PATTERN_GREY625: 6.25% background color.
+ * @GO_PATTERN_HORIZ: horizontal stripe.
+ * @GO_PATTERN_VERT: vertical stripe.
+ * @GO_PATTERN_REV_DIAG: reverse diagonal stripe.
+ * @GO_PATTERN_DIAG: diagonal stripe.
+ * @GO_PATTERN_DIAG_CROSS: diagonal crosshatch.
+ * @GO_PATTERN_THICK_DIAG_CROSS: thick diagonal crosshatch.
+ * @GO_PATTERN_THIN_HORIZ: thin horizontal stripe.
+ * @GO_PATTERN_THIN_VERT: thin vertical stripe.
+ * @GO_PATTERN_THIN_REV_DIAG: thin reverse diagonal stripe.
+ * @GO_PATTERN_THIN_DIAG: thin diagonal stripe.
+ * @GO_PATTERN_THIN_HORIZ_CROSS: thin horizontal crosshatch.
+ * @GO_PATTERN_THIN_DIAG_CROSS: thin diagonal crosshatch.
+ * @GO_PATTERN_FOREGROUND_SOLID: solid using foreground color.
+ * @GO_PATTERN_SMALL_CIRCLES: small circles.
+ * @GO_PATTERN_SEMI_CIRCLES: semi circles.
+ * @GO_PATTERN_THATCH: thatch.
+ * @GO_PATTERN_LARGE_CIRCLES: large circles.
+ * @GO_PATTERN_BRICKS: bricks.
+ * @GO_PATTERN_MAX: maximum value, should not occur.
+ **/
+
+/**
+ * GOPattern:
+ * @fore: foreground color.
+ * @back: background color.
+ *
+ * GOPattern::pattern is the used #GOPatternType.
+ **/
+
typedef struct {
char const *name;
char const *str;
diff --git a/goffice/utils/go-persist.c b/goffice/utils/go-persist.c
index 8511c5d..3235935 100644
--- a/goffice/utils/go-persist.c
+++ b/goffice/utils/go-persist.c
@@ -22,6 +22,14 @@
#include <goffice/goffice-config.h>
#include <goffice/utils/go-persist.h>
+
+/**
+ * GOPersistClass:
+ * @base: base interface.
+ * @prep_sax: loads the persistent object from a #GsfXMLIn.
+ * @sax_save: saves the persistent object to a #GsfXMLOut.
+ **/
+
GType
go_persist_get_type (void)
{
diff --git a/goffice/utils/go-style-prefs.ui b/goffice/utils/go-style-prefs.ui
index de5f0db..e58eb15 100644
--- a/goffice/utils/go-style-prefs.ui
+++ b/goffice/utils/go-style-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">30</property>
<property name="step_increment">0.10000000000000001</property>
diff --git a/plugins/plot_barcol/gog-area-prefs.ui b/plugins/plot_barcol/gog-area-prefs.ui
index 21b8df5..5180cbc 100644
--- a/plugins/plot_barcol/gog-area-prefs.ui
+++ b/plugins/plot_barcol/gog-area-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy project-wide -->
<object class="GtkTable" id="gog-area-prefs">
<property name="visible">True</property>
diff --git a/plugins/plot_barcol/gog-barcol-prefs.ui b/plugins/plot_barcol/gog-barcol-prefs.ui
index bc7effb..529c2bc 100644
--- a/plugins/plot_barcol/gog-barcol-prefs.ui
+++ b/plugins/plot_barcol/gog-barcol-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">500</property>
diff --git a/plugins/plot_distrib/gog-boxplot-prefs.ui b/plugins/plot_distrib/gog-boxplot-prefs.ui
index 93850c7..a066a5c 100644
--- a/plugins/plot_distrib/gog-boxplot-prefs.ui
+++ b/plugins/plot_distrib/gog-boxplot-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">500</property>
diff --git a/plugins/plot_distrib/gog-double-histogram-prefs.ui b/plugins/plot_distrib/gog-double-histogram-prefs.ui
index 1284dde..0f6a576 100644
--- a/plugins/plot_distrib/gog-double-histogram-prefs.ui
+++ b/plugins/plot_distrib/gog-double-histogram-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkTable" id="double-histogram-prefs">
<property name="visible">True</property>
diff --git a/plugins/plot_distrib/gog-histogram-prefs.ui b/plugins/plot_distrib/gog-histogram-prefs.ui
index 987f2d6..5b80c2d 100644
--- a/plugins/plot_distrib/gog-histogram-prefs.ui
+++ b/plugins/plot_distrib/gog-histogram-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy project-wide -->
<object class="GtkTable" id="histogram-prefs">
<property name="visible">True</property>
diff --git a/plugins/plot_pie/gog-pie-prefs.ui b/plugins/plot_pie/gog-pie-prefs.ui
index dff1a7f..e616dd7 100644
--- a/plugins/plot_pie/gog-pie-prefs.ui
+++ b/plugins/plot_pie/gog-pie-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">360</property>
diff --git a/plugins/plot_pie/gog-pie-series.ui b/plugins/plot_pie/gog-pie-series.ui
index f1d6417..3455f96 100644
--- a/plugins/plot_pie/gog-pie-series.ui
+++ b/plugins/plot_pie/gog-pie-series.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">500</property>
diff --git a/plugins/plot_pie/gog-ring-prefs.ui b/plugins/plot_pie/gog-ring-prefs.ui
index cde4640..9d31cb7 100644
--- a/plugins/plot_pie/gog-ring-prefs.ui
+++ b/plugins/plot_pie/gog-ring-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">360</property>
diff --git a/plugins/plot_radar/gog-polar-prefs.ui b/plugins/plot_radar/gog-polar-prefs.ui
index 4e99ec6..520f170 100644
--- a/plugins/plot_radar/gog-polar-prefs.ui
+++ b/plugins/plot_radar/gog-polar-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy project-wide -->
<object class="GtkTable" id="gog-polar-prefs">
<property name="visible">True</property>
diff --git a/plugins/plot_surface/gog-xyz-surface.c b/plugins/plot_surface/gog-xyz-surface.c
index f65098d..7ad3fd1 100644
--- a/plugins/plot_surface/gog-xyz-surface.c
+++ b/plugins/plot_surface/gog-xyz-surface.c
@@ -506,7 +506,7 @@ common_init_class (GogXYZPlotClass *klass)
g_object_class_install_property (gobject_klass, XYZ_SURFACE_PROP_AUTO_ROWS,
g_param_spec_boolean ("auto-rows",
_("Auto Rows"),
- _("Whether the rows limts should be evaluated"),
+ _("Whether the rows limits should be evaluated"),
TRUE,
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
g_object_class_install_property (gobject_klass, XYZ_SURFACE_PROP_COLUMNS,
@@ -518,7 +518,7 @@ common_init_class (GogXYZPlotClass *klass)
g_object_class_install_property (gobject_klass, XYZ_SURFACE_PROP_AUTO_COLUMNS,
g_param_spec_boolean ("auto-columns",
_("Auto Columns"),
- _("Whether the columns limts should be evaluated"),
+ _("Whether the columns limits should be evaluated"),
TRUE,
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
g_object_class_install_property (gobject_klass, XYZ_SURFACE_PROP_MISSING_AS,
diff --git a/plugins/plot_xy/gog-xy-dropbar-prefs.ui b/plugins/plot_xy/gog-xy-dropbar-prefs.ui
index 15b61ea..a36415d 100644
--- a/plugins/plot_xy/gog-xy-dropbar-prefs.ui
+++ b/plugins/plot_xy/gog-xy-dropbar-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="width-adj">
<property name="value">5</property>
diff --git a/plugins/plot_xy/gog-xy-dropbar.c b/plugins/plot_xy/gog-xy-dropbar.c
index d9d912d..9eb833d 100644
--- a/plugins/plot_xy/gog-xy-dropbar.c
+++ b/plugins/plot_xy/gog-xy-dropbar.c
@@ -310,7 +310,7 @@ gog_xy_dropbar_plot_class_init (GObjectClass *gobject_klass)
g_object_class_install_property (gobject_klass, XY_DROPBAR_PROP_WIDTH,
g_param_spec_double ("width",
_("Width"),
- _("Bars width as a percetage of the plot width"),
+ _("Bars width as a percentage of the plot width"),
0., 20., 5., /* using arbitrarily 20%. as maximum value */
GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
diff --git a/plugins/plot_xy/gog-xy-prefs.ui b/plugins/plot_xy/gog-xy-prefs.ui
index 6bbdf89..861d4e7 100644
--- a/plugins/plot_xy/gog-xy-prefs.ui
+++ b/plugins/plot_xy/gog-xy-prefs.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy project-wide -->
<object class="GtkTable" id="gog-xy-prefs">
<property name="visible">True</property>
diff --git a/plugins/plot_xy/gog-xy-series-prefs.ui b/plugins/plot_xy/gog-xy-series-prefs.ui
index 9dd5583..e0078c9 100644
--- a/plugins/plot_xy/gog-xy-series-prefs.ui
+++ b/plugins/plot_xy/gog-xy-series-prefs.ui
@@ -1,19 +1,22 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
- <!-- interface-naming-policy toplevel-contextual -->
+ <!-- interface-requires gtk+ 3.0 -->
<object class="GtkBox" id="gog_xy_series_prefs">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="border_width">12</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="invalid_as_zero">
- <property name="label" translatable="yes">_Use nul value instead of invalid</property>
+ <property name="label" translatable="yes">_Use null value instead of invalid</property>
+ <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
+ <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/plugins/smoothing/gog-exp-smooth.c b/plugins/smoothing/gog-exp-smooth.c
index 47af943..17e39cd 100644
--- a/plugins/smoothing/gog-exp-smooth.c
+++ b/plugins/smoothing/gog-exp-smooth.c
@@ -70,7 +70,7 @@ gog_exp_smooth_populate_editor (GogObject *obj,
box = gtk_event_box_new ();
gtk_container_add (GTK_CONTAINER (box), w);
gtk_widget_set_tooltip_text (box, _("Default period is 10 * (xmax - xmin)/(nvalues - 1)\n"
- "If no value or a negative (or nul) value is provided, the "
+ "If no value or a negative (or null) value is provided, the "
"default will be used"));
gtk_widget_show_all (box);
gtk_table_attach (table, box, 1, 2, 0, 1, GTK_FILL | GTK_EXPAND, 0, 0, 0);
diff --git a/plugins/smoothing/gog-moving-avg.ui b/plugins/smoothing/gog-moving-avg.ui
index 1862c57..fd3a884 100644
--- a/plugins/smoothing/gog-moving-avg.ui
+++ b/plugins/smoothing/gog-moving-avg.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-requires gtk+ 3.0 -->
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
<property name="value">2</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]