[anjal/anjal-0-1] Fix heights (cherry picked from commit 6447d067be2eba9c82ddc5d9f14dde44e37501d0)



commit 4384aa04854d460001fe8564884ffc77fc1c4aa5
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Mon Dec 7 14:06:37 2009 +0530

    Fix heights
    (cherry picked from commit 6447d067be2eba9c82ddc5d9f14dde44e37501d0)

 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]