From bcc4373857077d32b73b211f6d743ec0ddcddb90 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 18 Nov 2011 21:20:15 +0100 Subject: [PATCH] Only focus findbar when repeatedly triggering it It can be closed with Escape. --- toolbars/midori-findbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbars/midori-findbar.c b/toolbars/midori-findbar.c index 3aa9191c..548b546d 100644 --- a/toolbars/midori-findbar.c +++ b/toolbars/midori-findbar.c @@ -158,7 +158,7 @@ void midori_findbar_invoke (MidoriFindbar* findbar) { if (gtk_widget_get_visible (GTK_WIDGET (findbar))) - midori_findbar_done (findbar); + gtk_widget_grab_focus (GTK_WIDGET (findbar->find_text)); else { MidoriBrowser* browser = midori_browser_get_for_widget (findbar->find_text); -- 2.39.5