[Xfce4-commits] <midori:master> Set view scroll policy to Never to avoid flickering

Christian Dywan noreply at xfce.org
Wed Mar 20 22:10:03 CET 2013


Updating branch refs/heads/master
         to 8c03750830746d1259e6a083510ae23a7a37ce7a (commit)
       from 3c92c9ba4c5dc51a0a5a5bbf3d8cb9984715ad65 (commit)

commit 8c03750830746d1259e6a083510ae23a7a37ce7a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Mar 20 20:47:39 2013 +0100

    Set view scroll policy to Never to avoid flickering
    
    Fixes: https://bugs.launchpad.net/midori/+bug/1157316

 midori/midori-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 716a4e4..eb96151 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3250,6 +3250,7 @@ midori_view_init (MidoriView* view)
     #ifndef HAVE_WEBKIT2
     /* Adjustments are not created initially, but overwritten later */
     view->scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+    gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (view->scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_NEVER);
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (view->scrolled_window),
                                          GTK_SHADOW_NONE);
     g_signal_connect (view->scrolled_window, "notify::hadjustment",


More information about the Xfce4-commits mailing list