From: Christian Dywan Date: Fri, 18 Nov 2011 20:20:15 +0000 (+0100) Subject: Only focus findbar when repeatedly triggering it X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc4373857077d32b73b211f6d743ec0ddcddb90;p=midori Only focus findbar when repeatedly triggering it It can be closed with Escape. --- 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);