GNOME Bugzilla – Bug 98878
Closing a tab that hasn't finished loading leaves the spinner spinning
Last modified: 2004-12-22 21:47:04 UTC
Open http://tko.ods.org/sleep.php in a new tab, close the tab during the ten seconds it takes to load it, see the spinner keep on spinning.
There should probably be something like src/galeon-window.c:update_spinner_control in utils/gul-notebook:galeon_tab_close_button_clicked_cb, but that's a little tricky since GulNotebook shouldn't know anything about GaleonWindow and stuff like that :(
I tried catching the GtkContainer::remove signal from GulNotebook in galeon-window.c, and update the spinner control from there, but it didn't seem to have any effect. Maybe I was missing something.
bah.. Silly me assumed gtk would be behaving as advertised. Can I resolve this bug as NOTMYFAULT? :-P
I hope no one minds if I take this one. One of my changes added a signal that is called when a tab is removed. I'll hook onto it and update the spinner control.
Fixed in CVS