Summary Files Commits Branches @commit @diff @stats
path: root / downloads.c
diff options
context:
space:
mode:
1 files changed, 5 insertions, 1 deletions
-rw-r--r--downloads.c6
diff --git a/downloads.c b/downloads.c
index 0c1ee3d..2443a3e 100644
--- a/downloads.c
+++ b/downloads.c
@@ -51,9 +51,13 @@ downloadCb_created_destination(WebKitDownload *webkit_download,
gpointer user_data)
{
(void)webkit_download;
+ char *markup;
struct Download *download = (struct Download *)user_data;
- gtk_label_set_text(GTK_LABEL(download->file_path), destination);
+ markup = g_markup_printf_escaped("<a href=\"%s\">%s</a>", destination, destination);
+
+ gtk_label_set_markup(GTK_LABEL(download->file_path), markup);
+ g_free(markup);
}
gboolean