aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-08 04:07:13 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-08 04:07:13 +0800
commit9a1113c3be0114592c2063095c11f418e1e5b6e5 (patch)
treed2d6b41380665b80a4d9a98a6da44bc2757aca3f /src/ephy-window.c
parentde5a9b3979658fe7cdf928e3bc0501131dec0da2 (diff)
downloadgsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.tar
gsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.tar.gz
gsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.tar.bz2
gsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.tar.lz
gsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.tar.xz
gsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.tar.zst
gsoc2013-epiphany-9a1113c3be0114592c2063095c11f418e1e5b6e5.zip
Update spinner when a tab was removed. Fixes bug #116908.
2003-07-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_load_status), (tab_removed_cb): Update spinner when a tab was removed. Fixes bug #116908.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a920ce56f..47246a143 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -779,7 +779,7 @@ sync_tab_load_progress (EphyTab *tab, GParamSpec *pspec, EphyWindow *window)
}
static void
-sync_tab_load_status (EphyTab *tab, GParamSpec *pspec, EphyWindow *window)
+sync_tab_load_status (EphyTab *dummy, GParamSpec *pspec, EphyWindow *window)
{
gboolean spin = FALSE;
GList *tabs, *l;
@@ -1327,6 +1327,8 @@ tab_removed_cb (EphyNotebook *notebook, GtkWidget *child, EphyWindow *window)
window->priv->num_tabs--;
+ sync_tab_load_status (NULL, NULL, window);
+
if (window->priv->num_tabs == 0)
{
/* removed the last tab, close the window */