diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2011-06-30 08:16:47 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-07-17 07:09:12 +0800 |
commit | eb736a9d813e523e6529b985bb21be443f29c9d3 (patch) | |
tree | 5df1e760078f8472501e593ad326597fa231e791 /lib | |
parent | a56c9573c11bd558249917d02b4f1902eb812324 (diff) | |
download | gsoc2013-epiphany-eb736a9d813e523e6529b985bb21be443f29c9d3.tar.gz gsoc2013-epiphany-eb736a9d813e523e6529b985bb21be443f29c9d3.tar.zst gsoc2013-epiphany-eb736a9d813e523e6529b985bb21be443f29c9d3.zip |
ephy-download-widget: unescape tooltips
In ae374ca97044684d6a33bb11ae8bccac06a85b9f we forgot about the
tooltip.
Bug #653690
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-download-widget.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/widgets/ephy-download-widget.c b/lib/widgets/ephy-download-widget.c index e8353a94e..ab52e4e72 100644 --- a/lib/widgets/ephy-download-widget.c +++ b/lib/widgets/ephy-download-widget.c @@ -153,6 +153,7 @@ widget_progress_cb (GObject *object, EphyDownloadWidget *widget) { WebKitDownload *download; + char *file; char *destination; gdouble time; char *remaining; @@ -161,7 +162,8 @@ widget_progress_cb (GObject *object, char *remaining_tooltip; download = WEBKIT_DOWNLOAD (object); - destination = g_filename_display_basename (webkit_download_get_destination_uri (download)); + file = g_filename_display_basename (webkit_download_get_destination_uri (download)); + destination = g_uri_unescape_string (file, NULL); progress = webkit_download_get_progress (download) * 100; time = get_remaining_time (download); @@ -177,6 +179,7 @@ widget_progress_cb (GObject *object, gtk_label_set_text (GTK_LABEL (widget->priv->remaining), remaining_label); gtk_widget_set_tooltip_text (GTK_WIDGET (widget), remaining_tooltip); + g_free (file); g_free (destination); g_free (remaining); g_free (remaining_label); |