From 6d036cb630c1acdaaa889a578faa54f80879b612 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 26 Oct 2003 12:41:51 +0000 Subject: [project @ 2003-10-26 12:41:51 by jmb] Make fetch abort finish when auth is required. Lose the right click performs the opposite action stuff in the login dialog. svn path=/import/netsurf/; revision=391 --- desktop/browser.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'desktop') diff --git a/desktop/browser.c b/desktop/browser.c index 8e311eee8..048eb4d66 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -397,6 +397,11 @@ void browser_window_callback(content_msg msg, struct content *c, case CONTENT_MSG_AUTH: gui_401login_open(bw, c, error); + if (c == bw->loading_content) + bw->loading_content = 0; + else if (c == bw->current_content) + bw->current_content = 0; + browser_window_stop_throbber(bw); break; default: -- cgit v1.2.3