diff options
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r-- | embed/downloader-view.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 0c2c9caec..1a04f97a4 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -285,12 +285,13 @@ update_download_row (DownloaderView *dv, EphyDownload *download) if (total != -1) { - char *total_progress; + char *total_progress, *name; + name = ephy_download_get_name (download); total_progress = gnome_vfs_format_file_size_for_display (total); - file = g_strdup_printf ("%s\n%s of %s", - ephy_download_get_name (download), + file = g_strdup_printf ("%s\n%s of %s", name, cur_progress, total_progress); + g_free (name); g_free (total_progress); } else |