Patch to fix #335618
Li Yuan <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
Hi, Here is a patch to fix Bug 335618: http://bugzilla.gnome.org/show_bug.cgi?id=335618 Please help me to review it. Thank you very much. Regards, Li _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
mar28-335618.diff
(text/x-patch, 1.2 KB)
Index: ChangeLog =================================================================== RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v retrieving revision 1.403 diff -u -r1.403 ChangeLog --- ChangeLog 6 Mar 2006 10:47:01 -0000 1.403 +++ ChangeLog 28 Mar 2006 10:43:35 -0000 @@ -1,3 +1,10 @@ +2006-03-28 Li Yuan <[email protected]> + + **Fixes bug #335618 + * e-selection-model-array.c: (e_selection_model_array_delete_rows): + If the row being deleted is the last one, we should change the + selection_start_row. + 2006-03-06 Simon Zheng <[email protected]> Fixes bug #332140 Index: e-selection-model-array.c =================================================================== RCS file: /cvs/gnome/evolution/widgets/misc/e-selection-model-array.c,v retrieving revision 1.15 diff -u -r1.15 e-selection-model-array.c --- e-selection-model-array.c 17 Jun 2005 15:20:33 -0000 1.15 +++ e-selection-model-array.c 28 Mar 2006 10:43:35 -0000 @@ -68,6 +68,7 @@ if (esma->cursor_row >= e_bit_array_bit_count (esma->eba)) { esma->cursor_row = e_bit_array_bit_count (esma->eba) - 1; + esma->selection_start_row--; } else if (esma->cursor_row < 0) { esma->cursor_row = -1; }