[gnumeric] Fixed pane origin when zoomed. [#604373]
- From: Jean Bréfort <jbrefort src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] Fixed pane origin when zoomed. [#604373]
- Date: Sun, 13 Dec 2009 07:49:07 +0000 (UTC)
commit 9e775b8bc7591ccab34357efb851b02918fd40ec
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Dec 13 08:46:45 2009 +0100
Fixed pane origin when zoomed. [#604373]
ChangeLog | 5 +++++
NEWS | 1 +
src/gnm-pane.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2bfb813..5055e0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-13 Jean Brefort <jean brefort normalesup org>
+
+ * src/gnm-pane.c (gnm_pane_compute_visible_region): fixed pane origin
+ when zoomed. [#604373]
+
2009-12-11 Andreas J. Guelzow <aguelzow pyrshep ca>
* component/Gnumeric-embed.xml.in: add sign test
diff --git a/NEWS b/NEWS
index 52552c9..25ea780 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ Andreas:
Jean:
* Fixed problem with row headers. [#603862]
+ * Fixed pane origin when zoomed. [#604373]
Morten:
* Elminate use of "float".
diff --git a/src/gnm-pane.c b/src/gnm-pane.c
index 425ff67..7e8d2da 100644
--- a/src/gnm-pane.c
+++ b/src/gnm-pane.c
@@ -1335,7 +1335,7 @@ gnm_pane_compute_visible_region (GnmPane *pane,
0, pane->first_offset.y / canvas->pixels_per_unit);
goc_canvas_scroll_to (GOC_CANVAS (pane),
- col_offset, pane->first_offset.y / canvas->pixels_per_unit);
+ col_offset / canvas->pixels_per_unit, pane->first_offset.y / canvas->pixels_per_unit);
}
/* Find out the last visible col and the last full visible column */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]