aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-21 19:23:21 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-21 19:23:21 +0800
commit38637a7ffe353f89974e1a9fe1262ce77de062ea (patch)
tree4dea329ff48db36aedb333714c1e70d653b57f51
parent9916bc461bc0d76a4cce690fd2138b0df513bf23 (diff)
downloadgsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.tar
gsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.tar.gz
gsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.tar.bz2
gsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.tar.lz
gsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.tar.xz
gsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.tar.zst
gsoc2013-epiphany-38637a7ffe353f89974e1a9fe1262ce77de062ea.zip
Load the page after showing the window. That way, if mozilla throws up an
2005-02-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab_full): Load the page after showing the window. That way, if mozilla throws up an alert, the window is already there.
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-shell.c20
2 files changed, 17 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cc3f4139..eb06e2e3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-21 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-shell.c: (ephy_shell_new_tab_full):
+
+ Load the page after showing the window. That way, if mozilla throws up
+ an alert, the window is already there.
+
2005-02-20 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-notebook.c: (drag_start), (motion_notify_cb),
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index c510adbf4..9babb803b 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -717,6 +717,16 @@ ephy_shell_new_tab_full (EphyShell *shell,
ephy_gui_window_update_user_time (GTK_WIDGET (window), user_time);
+ if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0)
+ {
+ gtk_widget_show (GTK_WIDGET (window));
+ }
+
+ if (flags & EPHY_NEW_TAB_FULLSCREEN_MODE)
+ {
+ gtk_window_fullscreen (GTK_WINDOW (window));
+ }
+
if (flags & EPHY_NEW_TAB_HOME_PAGE ||
flags & EPHY_NEW_TAB_NEW_PAGE)
{
@@ -730,16 +740,6 @@ ephy_shell_new_tab_full (EphyShell *shell,
ephy_embed_load_url (embed, url);
}
- if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0)
- {
- gtk_widget_show (GTK_WIDGET (window));
- }
-
- if (flags & EPHY_NEW_TAB_FULLSCREEN_MODE)
- {
- gtk_window_fullscreen (GTK_WINDOW (window));
- }
-
return tab;
}