From 9a1113c3be0114592c2063095c11f418e1e5b6e5 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 7 Jul 2003 20:07:13 +0000 Subject: Update spinner when a tab was removed. Fixes bug #116908. 2003-07-07 Christian Persch * src/ephy-window.c: (sync_tab_load_status), (tab_removed_cb): Update spinner when a tab was removed. Fixes bug #116908. --- src/ephy-window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3