aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--main.c17
2 files changed, 22 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c61408..8e6fbe0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03445] download list for "w3m foo.tar.gz"
+ * main.c (main): display download list
+
+2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03443] Can't display "echo only_one_line | w3m"
* display.c (redrawNLine): check 1st line
@@ -4831,4 +4836,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.527 2002/11/18 16:42:12 ukai Exp $
+$Id: ChangeLog,v 1.528 2002/11/18 16:46:48 ukai Exp $
diff --git a/main.c b/main.c
index 0960f78..e51f70e 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.140 2002/11/15 16:46:12 ukai Exp $ */
+/* $Id: main.c,v 1.141 2002/11/18 16:46:52 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -927,6 +927,21 @@ main(int argc, char **argv, char **envp)
w3m_exit(0);
}
+ if (add_download_list) {
+ add_download_list = FALSE;
+ if (!FirstTab) {
+ FirstTab = LastTab = CurrentTab = newTab();
+ nTab = 1;
+ }
+ if (!Firstbuf || Firstbuf == NO_BUFFER) {
+ Firstbuf = Currentbuf = newBuffer(INIT_BUFFER_WIDTH);
+ Currentbuf->bufferprop = BP_INTERNAL | BP_NO_URL;
+ Currentbuf->buffername = DOWNLOAD_LIST_TITLE;
+ }
+ else
+ Currentbuf = Firstbuf;
+ ldDL();
+ }
if (!FirstTab || !Firstbuf || Firstbuf == NO_BUFFER) {
if (newbuf == NO_BUFFER) {
if (fmInitialized)