[goffice] Do not show the rotation button for axes other than circular.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Do not show the rotation button for axes other than circular.
- Date: Wed, 30 Jan 2013 19:01:26 +0000 (UTC)
commit 825fe89b489f58aa0bfaee8183688f5dc8b487d3
Author: Jean Brefort <jean brefort normalesup org>
Date: Wed Jan 30 20:05:17 2013 +0100
Do not show the rotation button for axes other than circular.
ChangeLog | 5 +++++
goffice/graph/gog-axis.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3da9ee3..3ad7478 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-30 Jean Brefort <jean brefort normalesup org>
+
+ * goffice/graph/gog-axis.c (gog_axis_populate_editor): do not show the
+ rotation button for axes other than circular.
+
2013-01-29 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-axis-prefs.ui: add a user interface for discrete
diff --git a/goffice/graph/gog-axis.c b/goffice/graph/gog-axis.c
index f50c304..49c6d60 100644
--- a/goffice/graph/gog-axis.c
+++ b/goffice/graph/gog-axis.c
@@ -2880,7 +2880,8 @@ gog_axis_populate_editor (GogObject *gobj,
g_signal_connect_object (G_OBJECT (w), "value-changed",
G_CALLBACK (cb_rotation_changed),
axis, 0);
- }
+ } else
+ gtk_widget_hide (go_gtk_builder_get_widget (gui, "circular-grid"));
for (i = 0; i < G_N_ELEMENTS (toggle_props) ; i++) {
gboolean cur_val;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]