evince r3300 - in trunk: . shell



Author: carlosgc
Date: Fri Dec 19 18:45:32 2008
New Revision: 3300
URL: http://svn.gnome.org/viewvc/evince?rev=3300&view=rev

Log:
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.

Modified:
   trunk/ChangeLog
   trunk/shell/ev-view.c

Modified: trunk/shell/ev-view.c
==============================================================================
--- trunk/shell/ev-view.c	(original)
+++ trunk/shell/ev-view.c	Fri Dec 19 18:45:32 2008
@@ -5101,6 +5101,7 @@
 		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;
 	}
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]