comparison src/gtkft.c @ 4646:440d3d870b84

[gaim-migrate @ 4956] This is a fix for the whole "The Dude received a file but it doesn't agree with original thing." Now it agrees with the original even if it doesn't agree with the original. I should fix it. I'll do it later, cutie. I realized that I want to store a bunch of this stuff in libfaim rather than oscar. And I'm going to outsource development and try to synergize with a group of wood nymphs. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 04 Mar 2003 06:40:20 +0000
parents 858979ab3867
children e557a10a9541
comparison
equal deleted inserted replaced
4645:8cae36606111 4646:440d3d870b84
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