changeset 1764:e43e68b39066

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.
author corvid <corvid@lavabit.com>
date Tue, 16 Nov 2010 02:16:11 +0000
parents 96852273c0bc
children 947f7b8bdbea
files dpi/downloads.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/downloads.cc	Mon Nov 15 23:00:10 2010 +0100
+++ b/dpi/downloads.cc	Tue Nov 16 02:16:11 2010 +0000
@@ -352,6 +352,7 @@
     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));