From e41e07e71b157c2c1ff2b54743a6ff0fcc5a7745 Mon Sep 17 00:00:00 2001 From: corvid Date: Tue, 16 Nov 2010 02:16:11 +0000 Subject: downloads dpi: RAW_LABEL for the widget displaying the filename Noticed with http://portal.acm.org/ft_gateway.cfm?id=1039523&type=pdf which redirected to a filename with lots of ampersands. --- dpi/downloads.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'dpi/downloads.cc') diff --git a/dpi/downloads.cc b/dpi/downloads.cc index 69750320..52de1c93 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -352,6 +352,7 @@ DLItem::DLItem(const char *full_filename, const char *url, DLAction action) prTitle = new Widget(24, 7, 290, 23, shortname); prTitle->box(RSHADOW_BOX); prTitle->align(ALIGN_LEFT|ALIGN_INSIDE|ALIGN_CLIP); + prTitle->set_flag (RAW_LABEL); // Attach this 'log_text' to the tooltip log_text_add("Target File: ", 13); log_text_add(fullname, strlen(fullname)); -- cgit v1.2.3