[evolution-patches] [PATCH 05/22] Fix heights (cherry picked from commit 6447d067be2eba9c82ddc5d9f14dde44e37501d0)
- From: yanli infradead org
- To: sragavan gnome org
- Cc: evolution-patches gnome org, Yan Li <yanli infradead org>
- Subject: [evolution-patches] [PATCH 05/22] Fix heights (cherry picked from commit 6447d067be2eba9c82ddc5d9f14dde44e37501d0)
- Date: Mon, 28 Dec 2009 13:32:37 +0800
From: Srinivasa Ragavan <sragavan gnome org>
Signed-off-by: Yan Li <yanli infradead org>
---
src/mail-message-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mail-message-view.c b/src/mail-message-view.c
index 39bf93f..1ef7d76 100644
--- a/src/mail-message-view.c
+++ b/src/mail-message-view.c
@@ -689,7 +689,7 @@ mmv_finished_loading_webkit (WebKitWebView *webkitwebview, WebKitWebFrame *arg1
gtk_widget_set_size_request ((GtkWidget *)webkitwebview, -1, webkit_web_frame_get_height(arg1));
#endif
gtk_widget_size_request ((GtkWidget *)webkitwebview, &req);
- if (req.height > 500) /* Wierd reason, but webkit resizes if we set a smaller size, before the content is loaded.*/
+ if (req.height > 200) /* Wierd reason, but webkit resizes if we set a smaller size, before the content is loaded.*/
gtk_widget_set_size_request ((GtkWidget *)webkitwebview, req.width, req.height+10);
/* Connect on expose, and mark mail as read on expose, when the mail is actually seen */
g_signal_connect (webkitwebview, "expose-event" , G_CALLBACK(mark_mail_read), mmview);
--
1.6.5.7
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]