aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.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/mail-display.c
parent305d9c4b21d083525233b6f1f61d48288f1766b3 (diff)
downloadgsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar
gsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar.gz
gsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar.bz2
gsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar.lz
gsoc2013-evolution-291331936c5f0312be27bc8b018b866c95c05984.tar.xz
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/mail-display.c')
-rw-r--r--mail/mail-display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 30cb0bc751..cc42e4bed1 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -608,7 +608,6 @@ pixbuf_gen_idle (struct _PixbufLoader *pbl)
gdk_pixbuf_unref (pixbuf);
bonobo_ui_toolbar_icon_set_pixbuf (
BONOBO_UI_TOOLBAR_ICON (pbl->pixmap), mini);
- gtk_widget_set_usize (pbl->pixmap, 24, 24);
/* Add the pixbuf to the cache */
g_hash_table_insert (thumbnail_cache, pbl->cid, mini);
@@ -797,6 +796,7 @@ do_attachment_header (GtkHTML *html, GtkHTMLEmbedded *eb,
pbl->type = g_strdup (eb->type);
pbl->cid = g_strdup (eb->classid + 6);
pbl->pixmap = bonobo_ui_toolbar_icon_new ();
+ gtk_widget_set_usize (pbl->pixmap, 24, 24);
pbl->eb = eb;
pbl->destroy_id = gtk_signal_connect (GTK_OBJECT (eb), "destroy",
embeddable_destroy_cb, pbl);
@@ -926,6 +926,7 @@ do_signature (GtkHTML *html, GtkHTMLEmbedded *eb,
pbl->type = NULL;
pbl->cid = g_strdup (eb->classid);
pbl->pixmap = bonobo_ui_toolbar_icon_new ();
+ gtk_widget_set_usize (pbl->pixmap, 24, 24);
pbl->eb = eb;
pbl->destroy_id = gtk_signal_connect (GTK_OBJECT (eb), "destroy",
embeddable_destroy_cb, pbl);