[goffice] GogAxis: with problem with using mouse to drag axis limits.



commit 76791f0d0e49e0102aa91d6309dc21e9bc3f26be
Author: Morten Welinder <terra gnome org>
Date:   Mon Dec 14 19:38:49 2015 -0500

    GogAxis: with problem with using mouse to drag axis limits.

 ChangeLog                     |    5 +++++
 NEWS                          |    1 +
 goffice/graph/gog-axis-line.c |    2 +-
 3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f469bb0..bb6257b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-14  Morten Welinder  <terra gnome org>
+
+       * goffice/graph/gog-axis-line.c (gog_tool_move_bound_init): Use
+       gog_axis_map_get_real_extents here, see bug #684886.
+
 2015-12-01  Morten Welinder  <terra gnome org>
 
        * goffice/app/go-plugin.c (go_plugin_read): Plug leak.
diff --git a/NEWS b/NEWS
index 2edf834..1ec6cda 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ goffice 0.10.25:
 
 Morten:
        * Plug leaks.
+       * Fix axis editing bug.  [#684886]
 
 --------------------------------------------------------------------------
 goffice 0.10.24:
diff --git a/goffice/graph/gog-axis-line.c b/goffice/graph/gog-axis-line.c
index c1dbb81..81d47f7 100644
--- a/goffice/graph/gog-axis-line.c
+++ b/goffice/graph/gog-axis-line.c
@@ -920,7 +920,7 @@ gog_tool_move_bound_init (GogToolAction *action)
        data->axis = axis_base->axis;
        data->length = hypot (view->x_start - view->x_stop,
                              view->y_start - view->y_stop);
-       gog_axis_map_get_extents (data->map, &data->start, &data->stop);
+       gog_axis_map_get_real_extents (data->map, &data->start, &data->stop);
 }
 
 static void


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