[epiphany] ephy-find-toolbar: Work again / and ' to activate the find bar



commit 2565ac672cc65817539a8a3ed2f954dc8f1835bd
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Tue Oct 1 21:28:17 2013 +0300

    ephy-find-toolbar: Work again / and ' to activate the find bar
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708550

 src/ephy-find-toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 2aec2aa..49c855d 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)
                {


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