/pidgin/main: 716af5e03402: Tweak autoscrolling limits to get fi...

Elliott Sales de Andrade qulogic at pidgin.im
Tue Aug 14 04:03:26 EDT 2012


Changeset: 716af5e034023edd4249bef0da2f5b1623b442f6
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-08-12 23:23 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/716af5e03402

Description:

Tweak autoscrolling limits to get filtered debug window to work.

I'm still not sure how the scroll limits seem to change only when adding
something that's going to be visible.

diffstat:

 pidgin/gtkwebview.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/pidgin/gtkwebview.c b/pidgin/gtkwebview.c
--- a/pidgin/gtkwebview.c
+++ b/pidgin/gtkwebview.c
@@ -178,8 +178,8 @@ process_load_queue(GtkWebView *webview)
 
 			if (priv->autoscroll) {
 				require_scroll = (gtk_adjustment_get_value(priv->vadj)
-				                  >= (gtk_adjustment_get_upper(priv->vadj) -
-				                      gtk_adjustment_get_page_size(priv->vadj)));
+				                 >= (gtk_adjustment_get_upper(priv->vadj) -
+				                 1.5*gtk_adjustment_get_page_size(priv->vadj)));
 			}
 
 			webkit_dom_html_element_insert_adjacent_html(body, "beforeend",



More information about the Commits mailing list