summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-30 18:40:26 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-30 18:40:26 +0000
commit84873deeff9b4e0cffa4b461171e491ea569ba70 (patch)
tree5b29fed9debf37ad5e6f219f1d9f6ff5c9832dbb /amiga/gui.c
parent160ec892e123b74033bf3092caff457629d9a00d (diff)
downloadnetsurf-84873deeff9b4e0cffa4b461171e491ea569ba70.tar.gz
netsurf-84873deeff9b4e0cffa4b461171e491ea569ba70.tar.bz2
Add Abort button to download window
svn path=/trunk/netsurf/; revision=7384
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 33afd9120..4d5e98208 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -947,6 +947,11 @@ void ami_handle_msg(void)
ami_401login_close((struct gui_login_window *)gwin);
win_destroyed = true;
}
+ else if(gwin->node->Type == AMINS_DLWINDOW)
+ {
+ ami_download_window_abort((struct gui_download_window *)gwin);
+ win_destroyed = true;
+ }
break;
default: