Only focus findbar when repeatedly triggering it
It can be closed with Escape.
This commit is contained in:
parent
4c2fd067ff
commit
bcc4373857
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue