[epiphany] ephy-find-toolbar: fix backwards search, forward search was hardcoded.



commit 64ca17c616475c10e7d5ceb61c544b63f8b40165
Author: Xan Lopez <xan gnome org>
Date:   Fri Apr 17 15:54:47 2009 +0300

    ephy-find-toolbar: fix backwards search, forward search was hardcoded.
---
 src/ephy-find-toolbar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 0e68fe5..6a2eac0 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -267,10 +267,10 @@ real_find (EphyFindToolbarPrivate *priv,
                 return EPHY_FIND_NOTFOUND;
 
         if (!webkit_web_view_search_text
-            (web_view, priv->find_string, case_sensitive, TRUE, FALSE)) {
+            (web_view, priv->find_string, case_sensitive, forward, FALSE)) {
                 /* not found, try to wrap */
                 if (!webkit_web_view_search_text
-                    (web_view, priv->find_string, case_sensitive, TRUE, TRUE)) {
+                    (web_view, priv->find_string, case_sensitive, forward, TRUE)) {
                         /* there's no result */
                         return EPHY_FIND_NOTFOUND;
                 } else {



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