diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-05-20 02:45:34 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-05-20 02:45:34 +0800 |
commit | b5a259caecd8811a90c4eb82fee402449ec617ba (patch) | |
tree | 44a2c76d88d2fc0d8cf068cca8dc608263c9dcf7 /src/ephy-notebook.c | |
parent | c26be9eaf445f04efd11ff3cb3daed38626b1b12 (diff) | |
download | gsoc2013-epiphany-b5a259caecd8811a90c4eb82fee402449ec617ba.tar.gz gsoc2013-epiphany-b5a259caecd8811a90c4eb82fee402449ec617ba.tar.zst gsoc2013-epiphany-b5a259caecd8811a90c4eb82fee402449ec617ba.zip |
Emit the "tab_removed" signal also for the window's last tab. Part of bug
2004-05-19 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-notebook.c: (ephy_notebook_remove_tab):
* src/ephy-window.c: (tab_removed_cb):
Emit the "tab_removed" signal also for the window's last tab.
Part of bug #142078.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 3e8689100..05412a11b 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -1091,6 +1091,8 @@ ephy_notebook_remove_tab (EphyNotebook *nb, { GtkWidget *window; window = gtk_widget_get_toplevel (GTK_WIDGET (nb)); + + g_signal_emit (G_OBJECT (nb), signals[TAB_REMOVED], 0, tab); gtk_widget_destroy (window); return; } |