aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-find-toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 2aec2aa4a..49c855dc7 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -200,7 +200,7 @@ tab_search_key_press_cb (EphyEmbed *embed,
g_return_val_if_fail (event != NULL, FALSE);
/* check for / and ' which open the find toolbar in text resp. link mode */
- if (gtk_widget_get_visible (widget) == FALSE)
+ if (gtk_search_bar_get_search_mode (GTK_SEARCH_BAR (widget)) == FALSE)
{
if (event->keyval == GDK_KEY_slash)
{