Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-12-19 18:45:32 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-12-19 18:45:32 (GMT)
commit1945e728811e4011d8a086f5da1486c5adb0dd02 (patch)
tree179862d4a584f6866e1c5afd7276fd70ad02c834 /shell/ev-view.c
parentc6f50877f279543454ba4925983785885dcb9015 (diff)
Only jump the the location of the find result for the first match when
2008-12-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (jump_to_find_result): Only jump the the location of the find result for the first match when searching. It drastically improves the performance when searching. Bug catched and fixed by Michael Hunold. svn path=/trunk/; revision=3300
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r--shell/ev-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 02a2783..ac4748e 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -5101,6 +5101,7 @@ jump_to_find_result (EvView *view)
rect = ev_view_find_get_result (view, page, view->find_result);
doc_rect_to_view_rect (view, page, rect, &view_rect);
ensure_rectangle_is_visible (view, &view_rect);
+ view->jump_to_find_result = FALSE;
}
}