| 159 if (time_remaining != NULL) { |
159 if (time_remaining != NULL) { |
| 160 if (gaim_xfer_get_size(xfer) == 0) { |
160 if (gaim_xfer_get_size(xfer) == 0) { |
| 161 *time_remaining = g_strdup("Unknown"); |
161 *time_remaining = g_strdup("Unknown"); |
| 162 } |
162 } |
| 163 else if (gaim_xfer_is_completed(xfer)) { |
163 else if (gaim_xfer_is_completed(xfer)) { |
| 164 *time_remaining = g_strdup("Done."); |
164 *time_remaining = g_strdup("Finished"); |
| 165 } |
165 } |
| 166 else { |
166 else { |
| 167 int h, m, s; |
167 int h, m, s; |
| 168 int secs_remaining; |
168 int secs_remaining; |
| 169 |
169 |
| 876 GAIM_STOCK_FILE_DONE, |
876 GAIM_STOCK_FILE_DONE, |
| 877 GTK_ICON_SIZE_MENU, NULL); |
877 GTK_ICON_SIZE_MENU, NULL); |
| 878 |
878 |
| 879 gtk_list_store_set(GTK_LIST_STORE(xfer_dialog->model), &data->iter, |
879 gtk_list_store_set(GTK_LIST_STORE(xfer_dialog->model), &data->iter, |
| 880 COLUMN_STATUS, pixbuf, |
880 COLUMN_STATUS, pixbuf, |
| 881 COLUMN_REMAINING, "Finished.", |
881 COLUMN_REMAINING, "Finished", |
| 882 -1); |
882 -1); |
| 883 |
883 |
| 884 g_object_unref(pixbuf); |
884 g_object_unref(pixbuf); |
| 885 } |
885 } |
| 886 |
886 |