[w3m-dev 03440] Re: restore alarm event

* fm.h (BP_RELOAD): added
	(DOWNLOAD_LIST_TITLE): added
* main.c (main): if BP_RELOAD, do reload
	(reload): if buffer is DOWNLOAD_LIST, ldDL()
	(DownloadListBuffer): rewrite with DOWNLOAD_LIST_TITLE
	(download_action): delete "update"
			don't delete prev buffer
	(ldDL): rewrite to do reload
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-11-15 16:14:25 +00:00
parent 3a6640f5ec
commit 73d8d35b5f
3 changed files with 48 additions and 14 deletions

4
fm.h
View File

@@ -1,4 +1,4 @@
/* $Id: fm.h,v 1.81 2002/11/15 16:05:15 ukai Exp $ */
/* $Id: fm.h,v 1.82 2002/11/15 16:14:25 ukai Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -177,6 +177,7 @@ void bzero(void *, int);
#define BP_NO_URL 0x10
#define BP_REDIRECTED 0x20
#define BP_CLOSE 0x40
#define BP_RELOAD 0x80
/* Link Buffer */
#define LB_NOLINK -1
@@ -466,6 +467,7 @@ typedef struct _DownloadList {
struct _DownloadList *next;
struct _DownloadList *prev;
} DownloadList;
#define DOWNLOAD_LIST_TITLE "Download List Panel"
#define COPY_BUFPOSITION(dstbuf, srcbuf) {\
(dstbuf)->topLine = (srcbuf)->topLine; \