[goffice] Ring plot: fix persistence of center size.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Ring plot: fix persistence of center size.
- Date: Mon, 13 Apr 2015 14:18:05 +0000 (UTC)
commit c0202b4872eaf6c4de047c1b95e713f32c89c169
Author: Morten Welinder <terra gnome org>
Date: Mon Apr 13 10:17:42 2015 -0400
Ring plot: fix persistence of center size.
ChangeLog | 5 +++++
NEWS | 1 +
plugins/plot_pie/gog-pie.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c35ef94..cd5bfa5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-13 Morten Welinder <terra gnome org>
+
+ * plugins/plot_pie/gog-pie.c (gog_ring_plot_class_init): Persist
+ the center size.
+
2015-04-13 Jean Brefort <jean brefort normalesup org>
* goffice/data/go-data-simple.c (go_data_scalar_val_new): ensure that
diff --git a/NEWS b/NEWS
index b12f8b1..c9835d9 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ Morten:
* Don't force radial plots to include 0 for log axis.
* Rewrite pattern-fill rendering. [#747212]
* Add go_cotpi and go_atan2pi.
+ * Fix persistence of ring plot center size.
--------------------------------------------------------------------------
goffice 0.10.21:
diff --git a/plugins/plot_pie/gog-pie.c b/plugins/plot_pie/gog-pie.c
index cf16962..80e4f7c 100644
--- a/plugins/plot_pie/gog-pie.c
+++ b/plugins/plot_pie/gog-pie.c
@@ -461,7 +461,7 @@ gog_ring_plot_class_init (GogPiePlotClass *pie_plot_klass)
_("Center-size"),
_("Size of the center hole as a percentage of the radius"),
0, 100., 0.,
- GSF_PARAM_STATIC | G_PARAM_READWRITE));
+ GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
plot_klass->desc.num_series_max = G_MAXINT;
plot_klass->desc.series.style_fields = GO_STYLE_OUTLINE | GO_STYLE_FILL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]