aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-27 05:29:16 +0800
committerDan Winship <danw@src.gnome.org>2001-10-27 05:29:16 +0800
commit291331936c5f0312be27bc8b018b866c95c05984 (patch)
treef007f3297075751c54e6628e88f2c78b9fe40ca6 /mail/folder-browser.c
parent305d9c4b21d083525233b6f1f61d48288f1766b3 (diff)
downloadgsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar.gz
gsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar.zst
gsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.zip
Work around something that we think is a GtkHTML bug, where sometimes the
* folder-browser.c (etree_key): Work around something that we think is a GtkHTML bug, where sometimes the adjustments have slightly bogus values and scrolling ends up working backwards. (Ximian 4939) * mail-display.c (do_signature, do_attachment_header): Set the icon to be 24x24 here so that (assuming it's not a thumbnail), no resizes will have to be queued later. (There's still a bug with the text to the left of the button being drawn twice for some reason though.) * mail-callbacks.c (delete_msg): Fix a bug here that makes deleting multiple messages cause a gratuitous message body fetch. (Ximian 12355) svn path=/trunk/; revision=14172
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index ff25360f67..ee47e0b1dc 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1696,6 +1696,9 @@ etree_key (ETree *tree, int row, ETreePath path, int col, GdkEvent *ev, FolderBr
switch (ev->key.keyval) {
case GDK_space:
+ /* Work around Ximian 4939 */
+ if (vadj->upper < vadj->page_size)
+ break;
if (vadj->value < vadj->upper - vadj->page_size - page_size)
vadj->value += page_size;
else