Code cleanup

This commit is contained in:
Pierre Pronchery 2010-12-05 01:16:15 +00:00
parent 44db3a6b8a
commit a9865b743a

View File

@ -514,8 +514,8 @@ static void _http_data_complete(GConnHttpEventData * event,
static void _http_data_partial(GConnHttpEventData * event, Download * download) static void _http_data_partial(GConnHttpEventData * event, Download * download)
{ {
if(download->content_length == 0 && download->data_received == 0) if(download->content_length == 0 && download->data_received == 0)
gtk_label_set_text(GTK_LABEL(download->status), _( gtk_label_set_text(GTK_LABEL(download->status),
"Downloading")); _("Downloading"));
download->data_received = event->data_received; download->data_received = event->data_received;
download->content_length = event->content_length; download->content_length = event->content_length;
_download_write(download); _download_write(download);