aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2001-06-28 04:58:40 +0800
committerJacob Berkman <jberkman@src.gnome.org>2001-06-28 04:58:40 +0800
commit513c03c3f87985c02715e6a6bd19d5539cf2fb97 (patch)
treee313d862c896c66f06643e9f540f53c43e729e88 /mail
parentf348217fedd68efe04d79b3615bf5286dd465697 (diff)
downloadgsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar
gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.gz
gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.bz2
gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.lz
gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.xz
gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.zst
gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.zip
work around an e-tree bug
2001-06-27 jacob berkman <jacob@ximian.com> * folder-browser.c (save_cursor_pos): work around an e-tree bug svn path=/trunk/; revision=10541
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/folder-browser.c3
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);