diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-02-25 01:43:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-02-25 01:43:48 +0800 |
commit | 881bfd24e673370efefc8f5ceb3cec3afa9e44bc (patch) | |
tree | 49ade73b432ced4cc693e48ab9710999dc622286 /src/ephy-session.c | |
parent | cb176ab1f40f443c4051fb430c8b6ccb79290f67 (diff) | |
download | gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.tar gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.tar.gz gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.tar.bz2 gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.tar.lz gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.tar.xz gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.tar.zst gsoc2013-epiphany-881bfd24e673370efefc8f5ceb3cec3afa9e44bc.zip |
Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.
2004-02-24 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-nautilus-view.c: (gnv_embed_new_window_cb):
* src/ephy-notebook.c: (ephy_notebook_class_init),
(tab_label_size_request_cb), (ephy_notebook_move_tab), (move_tab),
(motion_notify_cb), (move_tab_to_another_notebook),
(button_release_cb), (ephy_notebook_switch_page_cb),
(ephy_notebook_init), (close_button_clicked_cb), (build_tab_label),
(ephy_notebook_insert_tab), (smart_tab_switching_on_closure),
(ephy_notebook_remove_tab):
* src/ephy-notebook.h:
* src/ephy-session.c: (tab_added_cb), (tab_removed_cb):
* src/ephy-shell.c: (ephy_shell_new_tab):
* src/ephy-tab.c: (ephy_tab_get_type), (ephy_tab_size_allocate),
(ephy_tab_parent_set), (ephy_tab_class_init), (ephy_tab_finalize),
(ephy_tab_new), (ephy_tab_get_embed), (ephy_tab_for_embed),
(ephy_tab_new_window_cb), (let_me_resize_hack),
(ephy_tab_visibility_cb), (ephy_tab_size_to_cb),
(ephy_tab_dom_mouse_click_cb), (ephy_tab_init),
(ephy_tab_update_navigation_flags), (ephy_tab_set_title):
* src/ephy-tab.h:
* src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb),
(tabs_reordered_cb), (ephy_tabs_menu_set_window),
(ephy_tabs_menu_update):
* src/ephy-window.c: (tab_added_cb), (tab_removed_cb),
(tab_detached_cb), (tabs_reordered_cb), (tab_delete_cb),
(setup_notebook), (ephy_window_add_tab), (ephy_window_jump_to_tab),
(real_get_active_tab), (ephy_window_remove_tab),
(ephy_window_get_active_tab), (ephy_window_get_active_embed),
(ephy_window_get_tabs):
* src/ephy-window.h:
* src/window-commands.c: (window_cmd_tabs_move_left),
(window_cmd_tabs_move_right), (window_cmd_tabs_detach):
Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r-- | src/ephy-session.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c index cd318d264..7c91444e5 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -151,22 +151,22 @@ net_stop_cb (EphyEmbed *embed, static void tab_added_cb (GtkWidget *notebook, - GtkWidget *child, + EphyTab *tab, EphySession *session) { - g_signal_connect (child, "net_stop", + g_signal_connect (ephy_tab_get_embed (tab), "net_stop", G_CALLBACK (net_stop_cb), session); } static void tab_removed_cb (GtkWidget *notebook, - GtkWidget *child, + EphyTab *tab, EphySession *session) { ephy_session_save (session, SESSION_CRASHED); g_signal_handlers_disconnect_by_func - (child, G_CALLBACK (net_stop_cb), session); + (ephy_tab_get_embed (tab), G_CALLBACK (net_stop_cb), session); } static void |