The findbar shouldn't be focused after hiding
This commit is contained in:
parent
6fbea0b677
commit
b48817f04c
1 changed files with 1 additions and 2 deletions
|
@ -147,9 +147,8 @@ midori_findbar_invoke (MidoriFindbar* findbar)
|
||||||
if ((text = midori_view_get_selected_text (MIDORI_VIEW (view))))
|
if ((text = midori_view_get_selected_text (MIDORI_VIEW (view))))
|
||||||
gtk_entry_set_text (GTK_ENTRY (findbar->find_text), text);
|
gtk_entry_set_text (GTK_ENTRY (findbar->find_text), text);
|
||||||
gtk_widget_show (GTK_WIDGET (findbar));
|
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
|
static void
|
||||||
|
|
Loading…
Reference in a new issue