From 6a2ac920d3a994d0bad680ba6bf16b37f67d742d Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Wed, 2 Mar 2011 21:24:15 +0000 Subject: Fix a bug in the download manager - now all filenames on the disk will match the filenames in the download manager. Also pop up a message when a download starts. OK marco@ --- xxxterm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xxxterm.c b/xxxterm.c index 4c8d18d..f6be793 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -3952,7 +3952,7 @@ xtp_page_dl_row(struct tab *t, char *html, struct download *dl) new_html = g_strdup_printf( "%s\n%s%s" "%s\n", - html, basename(webkit_download_get_uri(dl->download)), + html, basename(webkit_download_get_destination_uri(dl->download)), status_html, cmd_html); g_free(html); @@ -6112,6 +6112,8 @@ webview_download_cb(WebKitWebView *wv, WebKitDownload *wk_download, /* get from history */ g_object_ref(wk_download); gtk_label_set_text(GTK_LABEL(t->label), "Downloading"); + show_oops(t, "Download of '%s' started...", + basename(webkit_download_get_destination_uri(wk_download))); } if (uri) -- cgit 1.4.1-2-gfad0