From 3844f2dc783a6e505e7f114bc1a747e5c040021c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 24 Sep 2003 12:06:06 +0000 Subject: Dave Bordoley 2003-09-24 Marco Pesenti Gritti Dave Bordoley * 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. --- src/ephy-notebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ephy-notebook.c') 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 -- cgit v1.2.3