[evolution-patches] gal etable fix, for 54757



This is for head, but I would guess the same problem is on the 1.4
branch, and i'm not sure if 54757 is the same as other 1.4 bugs.

http://bugzilla.ximian.com/show_bug.cgi?id=54757

Anyway the gal maintainer (?) might have more of an idea on this, and
whether its worth worrying about for 1.4.x.

 Michael

Index: gal/e-table/ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/ChangeLog,v
retrieving revision 1.923
diff -u -3 -r1.923 ChangeLog
--- gal/e-table/ChangeLog	12 Feb 2004 17:02:29 -0000	1.923
+++ gal/e-table/ChangeLog	26 Feb 2004 11:37:16 -0000
@@ -1,3 +1,8 @@
+2004-02-26  Not Zed  <NotZed Ximian com>
+
+	* e-table-item.c (eti_table_model_pre_change): reset
+	motion_row/motion_col if the model changes.  See bug #54757.
+
 2004-02-12  Rodney Dawes  <dobey ximian com>
 
 	* e-cell-popup.c (ecp_draw):
Index: gal/e-table/e-table-item.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-table-item.c,v
retrieving revision 1.232
diff -u -3 -r1.232 e-table-item.c
--- gal/e-table/e-table-item.c	8 Dec 2003 05:52:32 -0000	1.232
+++ gal/e-table/e-table-item.c	26 Feb 2004 11:37:18 -0000
@@ -1068,6 +1068,8 @@
 	eti_check_cursor_bounds (eti);
 	if (eti_editing (eti))
 		e_table_item_leave_edit_(eti);
+	eti->motion_row = -1;
+	eti->motion_col = -1;
 	eti_freeze (eti);
 }
 


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