[goffice] Fix data label offset serialization. [#692305]



commit bd5b1bc1282d24b795b14081961c2ade48a79473
Author: Jean Brefort <jean brefort normalesup org>
Date:   Tue Jan 22 22:28:57 2013 +0100

    Fix data label offset serialization. [#692305]

 ChangeLog                         |    5 +++++
 NEWS                              |    1 +
 goffice/graph/gog-series-labels.c |    2 +-
 3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a75c4ee..8986985 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-22  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/graph/gog-series-labels.c (gog_series_labels_class_init): really
+	accept a label offset larger than 10.
+
 2013-01-22  Morten Welinder  <terra gnome org>
 
 	* goffice/math/go-regression.c (go_linear_solve_multiple): New
diff --git a/NEWS b/NEWS
index 510dae2..34f81d1 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ goffice 0.10.1:
 Jean:
 	* Don't add an extra separator at start of data labels. [#691704]
 	* Don't crash after deleting a named smoothed curve. [#691796]
+	* Fix data label offset serialization. [#692305]
 
 Morten:
 	* Cleanup linear algebra.  [#691630]
diff --git a/goffice/graph/gog-series-labels.c b/goffice/graph/gog-series-labels.c
index ccf9b02..101576a 100644
--- a/goffice/graph/gog-series-labels.c
+++ b/goffice/graph/gog-series-labels.c
@@ -1429,7 +1429,7 @@ gog_series_labels_class_init (GObjectClass *obj_klass)
 		 g_param_spec_uint ("offset",
 			_("Offset"),
 			_("Offset to add to the label position"),
-			0, 10, 0,
+			0, 20, 0,
 			GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
         g_object_class_install_property (obj_klass, SERIES_LABELS_PROP_FORMAT,
 		 g_param_spec_string ("format",



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