Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-07-29 10:05:35 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-07-29 10:05:35 (GMT)
commit596c9107204be24ac45fa02cc0cb59c238e09111 (patch)
treec114a2b122b2f223b39efa9e46e3bcde1e84bce4
parent189504ec4247b93d528506f60de75117284535f3 (diff)
Patch by Nickolay V. Shmyrev to fix find flickering
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
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-view.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be3d5ca..779e564 100644
--- 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
diff --git a/shell/ev-view.c b/shell/ev-view.c
index cf79ded..9ddabf7 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) {