From: Marco Pesenti Gritti Date: Fri, 29 Jul 2005 10:05:35 +0000 (+0000) Subject: Patch by Nickolay V. Shmyrev to fix find flickering X-Git-Tag: EVINCE_0_3_3~55 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;ds=inline;h=596c9107204be24ac45fa02cc0cb59c238e09111;p=evince.git Patch by Nickolay V. Shmyrev to fix find flickering 2005-07-29 Marco Pesenti Gritti * shell/ev-view.c: (ensure_rectangle_is_visible): Patch by Nickolay V. Shmyrev to fix find flickering --- diff --git a/ChangeLog b/ChangeLog index be3d5ca2..779e5641 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-29 Marco Pesenti Gritti + + * shell/ev-view.c: (ensure_rectangle_is_visible): + + Patch by Nickolay V. Shmyrev to fix find flickering + 2005-07-27 Martin Kretzschmar * backend/ev-ps-exporter.h: add paper_width, paper_height, and diff --git a/shell/ev-view.c b/shell/ev-view.c index cf79ded0..9ddabf71 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -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) {