[gnumeric] Fix cursor appearance. [#611076]



commit 6a5380091a0c8fa301f35fa8ea24be951326ef6c
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Mar 6 08:46:52 2010 +0100

    Fix cursor appearance. [#611076]

 ChangeLog         |    5 +++++
 NEWS              |    2 ++
 src/item-cursor.c |    2 +-
 3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index aca3b89..0b25ed7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-06  Jean Brefort  <jean brefort normalesup org>
+
+	* src/item-cursor.c (item_cursor_draw): fix cursor appearance when the
+	line or column is on the border of a hidden area. [#611076]
+
 2010-03-04  Morten Welinder  <terra gnome org>
 
 	* src/ssindex.c (ssindex_validation): Handle NULLs better.  Fixes
diff --git a/NEWS b/NEWS
index 1415049..3d69dff 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,8 @@ Andreas:
 
 Jean:
 	* Fix a crash in excelplugin. [#610012]
+	* Fix a crasher in excelplugin. [#610012]
+	* Fix cursor appearance. [#611076]
 
 Morten:
 	* Turn off -Wstrict-prototypes for the stable series.
diff --git a/src/item-cursor.c b/src/item-cursor.c
index 8296b7f..9aad90d 100644
--- a/src/item-cursor.c
+++ b/src/item-cursor.c
@@ -386,7 +386,7 @@ item_cursor_draw (GocItem const *item, cairo_t *cr)
 		gdk_draw_lines (drawable, ic->gc, points, 5);
 	}
 
-	if (draw_external && draw_internal) {
+	if (draw_external && draw_internal && draw_handle) {
 		if (draw_handle < 2) {
 			points [0].x -= 2;
 			points [1].x -= 2;



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