[evolution-rss/evolution-rss-0-2-0] add adj size when computing browser view size



commit 225027f8a5590a9d1931d24f3bd49720a3edd0cc
Author: Lucian Langa <lucilanga gnome org>
Date:   Thu Jan 27 17:46:27 2011 +0200

    add adj size when computing browser view size

 src/rss.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index 0fb1105..97f6418 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1360,12 +1360,12 @@ webkit_net_status (WebKitWebView *view,
 			if (rf->mozembed) {
 				gtk_widget_get_allocation(rf->mozembed, &alloc);
 				width = alloc.width;
-				if (resize_pane_hsize > width && width != 1) {
+				if (resize_pane_hsize+14 > width && width != 1) {
 					gtk_widget_set_size_request(rf->mozembed,
 						-1, -1);
 					gtk_widget_size_request(rf->mozembed, &req);
 
-					if (req.width < resize_pane_hsize-14)
+					if (req.width < resize_pane_hsize+14)
 						w = resize_pane_hsize-14;
 					else
 						w = req.width;



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