diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2018-10-21 20:32:05 +0200 |
---|---|---|
committer | Jan-Michael Brummer <jan.brummer@tabos.org> | 2018-10-21 20:32:05 +0200 |
commit | 6bce9cbeb73ff5dc1ee9f8ea7af3bf887906d1b9 (patch) | |
tree | 84c845a1de09d757b70a7498ad41e8dd2f835d75 | |
parent | e1cf29f86b1071a7c2ea696ffc586c1dfb6f4e64 (diff) | |
download | epiphany-6bce9cbeb73ff5dc1ee9f8ea7af3bf887906d1b9.tar.gz |
ephy-notebook: Set focus to embed on notebook tab switch
Fixes accidently loading a wrong page using the new dazzle url entry.
-rw-r--r-- | src/ephy-notebook.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 4a05b933b..b0c4b4d14 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -253,6 +253,7 @@ ephy_notebook_switch_page_cb (GtkNotebook *notebook, GtkWidget *child; child = gtk_notebook_get_nth_page (notebook, page_num); + gtk_widget_grab_focus (child); /* Remove the old page, we dont want to grow unnecessarily * the list */ |