aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-04-17 20:54:47 +0800
committerXan Lopez <xan@gnome.org>2009-04-17 20:54:47 +0800
commit64ca17c616475c10e7d5ceb61c544b63f8b40165 (patch)
tree82dd95f37f198fad0bec8c8ce98f66db75cb9cf2
parent6b7bbce3c241d948c3dc6b545e7abf84adb215d3 (diff)
downloadgsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.tar
gsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.tar.gz
gsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.tar.bz2
gsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.tar.lz
gsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.tar.xz
gsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.tar.zst
gsoc2013-epiphany-64ca17c616475c10e7d5ceb61c544b63f8b40165.zip
ephy-find-toolbar: fix backwards search, forward search was hardcoded.
-rw-r--r--src/ephy-find-toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 0e68fe50a..6a2eac05e 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 {