diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-shell.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2005-07-29 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-shell.c: (ephy_shell_new_tab_full): + + Realise the embed first before grabbing focus on it. + +2005-07-29 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-python-extension.c: (impl_detach_tab), (impl_detach_window): * src/ephy-python-loader.c: (ephy_python_loader_finalize): diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 02aec0cbd..5d9aaed4a 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -793,7 +793,8 @@ ephy_shell_new_tab_full (EphyShell *shell, } else if (embed != NULL) { - /* non-empty page, focus the page */ + /* non-empty page, focus the page. but make sure the widget is realised first! */ + gtk_widget_realize (GTK_WIDGET (embed)); ephy_embed_activate (embed); } } |