diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-09-24 20:06:06 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-09-24 20:06:06 +0800 |
commit | 3844f2dc783a6e505e7f114bc1a747e5c040021c (patch) | |
tree | da57bb88871a1ce0e5ec47311522507647d61556 /src/ephy-notebook.c | |
parent | 330bb03126170f0be6527c71f44654aeefd46514 (diff) | |
download | gsoc2013-epiphany-3844f2dc783a6e505e7f114bc1a747e5c040021c.tar.gz gsoc2013-epiphany-3844f2dc783a6e505e7f114bc1a747e5c040021c.tar.zst gsoc2013-epiphany-3844f2dc783a6e505e7f114bc1a747e5c040021c.zip |
Dave Bordoley <bordoley@msu.edu>
2003-09-24 Marco Pesenti Gritti <marco@gnome.org>
Dave Bordoley <bordoley@msu.edu>
* src/ephy-tab.c: (ephy_tab_action_activate_cb), (ephy_tab_init):
* src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb),
(ephy_tabs_menu_set_window), (ephy_tabs_menu_set_property),
(ephy_tabs_menu_class_init), (ephy_tabs_menu_init),
(ephy_tabs_menu_clean), (ephy_tabs_menu_update):
* src/ephy-window.c: (ephy_window_set_active_tab), (tab_added_cb),
(tab_removed_cb), (tabs_reordered_cb):
Use radio buttons for tabs menu. Do not recreate the
action group every time but keep it synced.
* src/ephy-notebook.c: (ephy_notebook_insert_page):
Emit added signal before activating the page.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 4 |
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 |