[goffice] Allow rotation of axis line labels. [#740198]
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Allow rotation of axis line labels. [#740198]
- Date: Fri, 21 Nov 2014 15:05:47 +0000 (UTC)
commit 3991eb51c99ff44650da3715e47f32d631bb6f16
Author: Jean Brefort <jean brefort normalesup org>
Date: Fri Nov 21 16:05:31 2014 +0100
Allow rotation of axis line labels. [#740198]
ChangeLog | 5 +++++
NEWS | 3 +++
goffice/graph/gog-axis-line.c | 4 ++--
3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 08375fc..e7cdca0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-21 Jean Brefort <jean brefort normalesup org>
+
+ * goffice/graph/gog-axis-line.c (gog_axis_base_init_style): allow rotation
+ of axis line labels. [#740198]
+
2014-10-27 Jean Brefort <jean brefort normalesup org>
* goffice/canvas/goc-canvas.c (goc_canvas_draw),
diff --git a/NEWS b/NEWS
index f147843..b20bc53 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
goffice 0.10.19:
+Jean:
+ * Allow rotation of axis line labels. [#740198]
+
Morten:
* Dead kitten salvage.
diff --git a/goffice/graph/gog-axis-line.c b/goffice/graph/gog-axis-line.c
index e211738..6c6b63b 100644
--- a/goffice/graph/gog-axis-line.c
+++ b/goffice/graph/gog-axis-line.c
@@ -657,9 +657,9 @@ gog_axis_base_populate_editor (GogObject *gobj,
static void
gog_axis_base_init_style (GogStyledObject *gso, GOStyle *style)
{
- style->interesting_fields = GO_STYLE_LINE | GO_STYLE_FONT;
+ style->interesting_fields = GO_STYLE_LINE | GO_STYLE_FONT | GO_STYLE_TEXT_LAYOUT;
gog_theme_fillin_style (gog_object_get_theme (GOG_OBJECT (gso)),
- style, GOG_OBJECT (gso), 0, GO_STYLE_LINE | GO_STYLE_FONT);
+ style, GOG_OBJECT (gso), 0, GO_STYLE_LINE | GO_STYLE_FONT | GO_STYLE_TEXT_LAYOUT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]