aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 3c1e178f7..d9e48d17b 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -1014,6 +1014,8 @@ ephy_notebook_insert_page (EphyNotebook *nb,
g_signal_connect_object (tab, "notify::load-status",
G_CALLBACK (sync_load_status), label, 0);
+ g_signal_emit (G_OBJECT (nb), signals[TAB_ADDED], 0, child);
+
if (jump_to)
{
gtk_notebook_set_current_page (GTK_NOTEBOOK (nb),
@@ -1021,8 +1023,6 @@ ephy_notebook_insert_page (EphyNotebook *nb,
g_object_set_data (G_OBJECT (child), "jump_to",
GINT_TO_POINTER (jump_to));
}
-
- g_signal_emit (G_OBJECT (nb), signals[TAB_ADDED], 0, child);
}
static void