Author: mono
Date: Tue Dec 27 17:30:39 2011
New Revision: 13351
URL:
http://source.netsurf-browser.org?rev=13351&view=rev
Log:
Set status message on download finish.
Modified:
trunk/netsurf/atari/download.c
Modified: trunk/netsurf/atari/download.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/atari/download.c?rev=1335...
==============================================================================
--- trunk/netsurf/atari/download.c (original)
+++ trunk/netsurf/atari/download.c Tue Dec 27 17:30:39 2011
@@ -48,7 +48,9 @@
#include "atari/options.h"
#include "atari/osspec.h"
-/*TODO: get filename from core. */
+/*TODO: get filename from core. */
+
+extern struct gui_window * input_window;
static void gui_download_window_destroy( struct gui_download_window * gdw );
@@ -290,7 +292,8 @@
LOG(("%s", error_msg));
strncpy((char*)&dw->lbl_file, error_msg, MAX_SLEN_LBL_FILE-1);
dw->status = NSATARI_DOWNLOAD_ERROR;
- snd_rdw( dw->form );
+ snd_rdw( dw->form );
+ gui_window_set_status(input_window, messages_get("Done") );
}
void gui_download_window_done(struct gui_download_window *dw)
@@ -316,5 +319,6 @@
snd_rdw( dw->form );
if( (tree[DOWNLOAD_CB_CLOSE_RDY].ob_state & SELECTED) != 0 ) {
ApplWrite( _AESapid, WM_CLOSED, dw->form->handle, 0,0,0,0);
- }
-}
+ }
+ gui_window_set_status(input_window, messages_get("Done") );
+}