Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcarlosgc <carlosgc@e12069bd-dc25-0410-a696-d39a8afcd844>2008-12-19 18:45:32 (GMT)
committer carlosgc <carlosgc@e12069bd-dc25-0410-a696-d39a8afcd844>2008-12-19 18:45:32 (GMT)
commit77dd751b396dfb75c7aaeafd7172d532f43ffb6b (patch)
tree179862d4a584f6866e1c5afd7276fd70ad02c834
parente72cb153956ab2441c8f16870ee72e6778e8cc08 (diff)
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. git-svn-id: svn+ssh://svn.gnome.org/svn/evince/trunk@3300 e12069bd-dc25-0410-a696-d39a8afcd844
-rw-r--r--ChangeLog8
-rw-r--r--shell/ev-view.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 111884b..4ee57b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2008-12-03 Carlos Garcia Campos <carlosgc@gnome.org>
* properties/ev-properties-main.c: (ev_properties_get_pages):
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;
}
}