[evolution-rss] add adj size when computing browser view size
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] add adj size when computing browser view size
- Date: Thu, 27 Jan 2011 15:47:05 +0000 (UTC)
commit ae8e59b9003e6b2b518d2e8e20caf837af624184
Author: Lucian Langa <lucilanga gnome org>
Date: Thu Jan 27 16:56:31 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 1b1ce8e..e159b9a 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1378,12 +1378,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]