mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 02:42:11 +03:00
Set status message on download finish.
svn path=/trunk/netsurf/; revision=13351
This commit is contained in:
parent
d3d6285b03
commit
4dd695c156
@ -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 @@ void gui_download_window_error(struct gui_download_window *dw,
|
||||
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 @@ void gui_download_window_done(struct gui_download_window *dw)
|
||||
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") );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user