summaryrefslogtreecommitdiff
path: root/dpi/downloads.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2010-11-16 02:16:11 +0000
committercorvid <corvid@lavabit.com>2010-11-16 02:16:11 +0000
commite41e07e71b157c2c1ff2b54743a6ff0fcc5a7745 (patch)
tree0fa7c8e1b7c30463cdea112d7bdc62c47737e640 /dpi/downloads.cc
parent8aaf8bbcc18ca3748809fede4773b19b04135f94 (diff)
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.
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r--dpi/downloads.cc1
1 files changed, 1 insertions, 0 deletions
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));