aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-30 04:05:05 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-30 04:05:05 +0800
commit941de06806cb6c145ac2b522ad276add5bdbb2fd (patch)
treea26d06882de54edf365e90f9f51eb8d02d46ad96 /src
parent2ec6bec12610fd0cfed6bc2612c3a9c23815df62 (diff)
downloadgsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.tar
gsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.tar.gz
gsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.tar.bz2
gsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.tar.lz
gsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.tar.xz
gsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.tar.zst
gsoc2013-epiphany-941de06806cb6c145ac2b522ad276add5bdbb2fd.zip
Realise the embed first before grabbing focus on it.
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.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}