[anjal] Fix heights
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] Fix heights
- Date: Mon, 7 Dec 2009 08:37:29 +0000 (UTC)
commit 6447d067be2eba9c82ddc5d9f14dde44e37501d0
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Mon Dec 7 14:06:37 2009 +0530
Fix heights
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 b5ab1a1..eb13a6e 100644
--- a/src/mail-message-view.c
+++ b/src/mail-message-view.c
@@ -690,7 +690,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]