aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-04 05:41:36 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-04 05:41:36 +0800
commit3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b (patch)
tree01bc59449b5c97cff808101e6d89a3cc4f8b8b89
parent4a8c96cc80e7b6cb33fb9d69c168625d7ae9fcac (diff)
downloadgsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.tar
gsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.tar.gz
gsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.tar.bz2
gsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.tar.lz
gsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.tar.xz
gsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.tar.zst
gsoc2013-epiphany-3ec70df3e6c1a802c23dbb3f4cb8ea9fac06fe6b.zip
Also bring the window to the front.
2004-11-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (modal_alert_cb): Also bring the window to the front.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-window.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 533109487..e875cd9ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-03 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-window.c: (modal_alert_cb):
+
+ Also bring the window to the front.
+
2004-10-30 Christian Persch <chpe@cvs.gnome.org>
* Makefile.am:
diff --git a/src/ephy-window.c b/src/ephy-window.c
index fd8b1a044..9a459594b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1648,7 +1648,12 @@ modal_alert_cb (EphyEmbed *embed,
tab = ephy_tab_for_embed (embed);
g_return_val_if_fail (tab != NULL, FALSE);
+ /* switch the window to the tab, and bring the window to the foreground
+ * (since the alert is modal, the user won't be able to do anything
+ * with his current window anyway :|)
+ */
ephy_window_jump_to_tab (window, tab);
+ gtk_window_present (GTK_WINDOW (window));
/* make sure the location entry shows the real URL of the tab's page */
address = ephy_embed_get_location (embed, TRUE);