]> www.fi.muni.cz Git - evince.git/commitdiff
Patch by Nickolay V. Shmyrev to fix find flickering
authorMarco Pesenti Gritti <mpg@redhat.com>
Fri, 29 Jul 2005 10:05:35 +0000 (10:05 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Fri, 29 Jul 2005 10:05:35 +0000 (10:05 +0000)
2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>

        * shell/ev-view.c: (ensure_rectangle_is_visible):

        Patch by Nickolay V. Shmyrev to fix find flickering

ChangeLog
shell/ev-view.c

index be3d5ca2253158c8347dc65186c307842c551883..779e564109baff48ea706deb9b8e7b9823729f22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
+
+       * shell/ev-view.c: (ensure_rectangle_is_visible):
+
+       Patch by Nickolay V. Shmyrev to fix find flickering
+
 2005-07-27  Martin Kretzschmar  <martink@gnome.org>
 
        * backend/ev-ps-exporter.h: add paper_width, paper_height, and
index cf79ded0ba8b20f263cf308903e628a7e56ea7e6..9ddabf7105cf6ed0a261656cb85c77cc426ef8a3 100644 (file)
@@ -705,6 +705,8 @@ ensure_rectangle_is_visible (EvView *view, GdkRectangle *rect)
        GtkAdjustment *adjustment;
        int value;
 
+       view->pending_scroll = SCROLL_TO_KEEP_POSITION;
+
        adjustment = view->vadjustment;
 
        if (rect->y < adjustment->value) {