Mercurial > pidgin.yaz
comparison src/gtkft.c @ 8351:ffa642240fc1
[gaim-migrate @ 9075]
marv is incredibly patient, waiting a long time for this to go in
you should all be using Jabber for file transfer anyway, but if you're
still stuck in the stone age, now you can transfer files via IRC
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 27 Feb 2004 01:45:26 +0000 |
parents | ab35a0bec13a |
children | 5956297c6bcc |
comparison
equal
deleted
inserted
replaced
8350:0018b8118e77 | 8351:ffa642240fc1 |
---|---|
148 *time_elapsed = g_strdup_printf("%d:%02d:%02d", h, m, s); | 148 *time_elapsed = g_strdup_printf("%d:%02d:%02d", h, m, s); |
149 } | 149 } |
150 | 150 |
151 if (time_remaining != NULL) { | 151 if (time_remaining != NULL) { |
152 if (gaim_xfer_get_size(xfer) == 0) { | 152 if (gaim_xfer_get_size(xfer) == 0) { |
153 *time_remaining = g_strdup("Unknown"); | 153 *time_remaining = g_strdup(_("Unknown")); |
154 } | 154 } |
155 else if (gaim_xfer_is_completed(xfer)) { | 155 else if (gaim_xfer_is_completed(xfer)) { |
156 *time_remaining = g_strdup("Finished"); | 156 *time_remaining = g_strdup(_("Finished")); |
157 } | 157 } |
158 else { | 158 else { |
159 int h, m, s; | 159 int h, m, s; |
160 int secs_remaining; | 160 int secs_remaining; |
161 | 161 |
930 GAIM_STOCK_FILE_DONE, | 930 GAIM_STOCK_FILE_DONE, |
931 GTK_ICON_SIZE_MENU, NULL); | 931 GTK_ICON_SIZE_MENU, NULL); |
932 | 932 |
933 gtk_list_store_set(GTK_LIST_STORE(xfer_dialog->model), &data->iter, | 933 gtk_list_store_set(GTK_LIST_STORE(xfer_dialog->model), &data->iter, |
934 COLUMN_STATUS, pixbuf, | 934 COLUMN_STATUS, pixbuf, |
935 COLUMN_REMAINING, "Finished", | 935 COLUMN_REMAINING, _("Finished"), |
936 -1); | 936 -1); |
937 | 937 |
938 g_object_unref(pixbuf); | 938 g_object_unref(pixbuf); |
939 } | 939 } |
940 | 940 |