From b48817f04c204d2af5f8c7a9ad1481be01655e0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20St=C3=B6sel?= Date: Fri, 27 May 2011 23:06:23 +0200 Subject: [PATCH] The findbar shouldn't be focused after hiding --- toolbars/midori-findbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toolbars/midori-findbar.c b/toolbars/midori-findbar.c index d8769c46..d448ce5b 100644 --- a/toolbars/midori-findbar.c +++ b/toolbars/midori-findbar.c @@ -147,9 +147,8 @@ midori_findbar_invoke (MidoriFindbar* findbar) if ((text = midori_view_get_selected_text (MIDORI_VIEW (view)))) gtk_entry_set_text (GTK_ENTRY (findbar->find_text), text); gtk_widget_show (GTK_WIDGET (findbar)); + gtk_widget_grab_focus (GTK_WIDGET (findbar->find_text)); } - - gtk_widget_grab_focus (GTK_WIDGET (findbar->find_text)); } static void -- 2.39.5