diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/folder-browser.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6019fae3bc..8bd080d2a6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2001-06-27 jacob berkman <jacob@ximian.com> + + * folder-browser.c (save_cursor_pos): work around an e-tree bug + 2001-06-27 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c: Fixed Cut/Copy/Paste to work - it turns out I diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 66365d2745..78a7570edd 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -801,6 +801,9 @@ save_cursor_pos (FolderBrowser *fb) row = e_tree_row_of_node (fb->message_list->tree, node); + if (row == -1) + return 0; + e_tree_get_cell_geometry (fb->message_list->tree, row, 0, NULL, &y, NULL, &height); |