Mercurial > pidgin.yaz
comparison pidgin/gtkft.c @ 32827:4a34689eeb33 default tip
merged from im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 19 Nov 2011 14:42:54 +0900 |
parents | edb20c793641 |
children |
comparison
equal
deleted
inserted
replaced
32692:0f94ec89f0bc | 32827:4a34689eeb33 |
---|---|
245 | 245 |
246 data = purple_xfer_get_ui_data(xfer); | 246 data = purple_xfer_get_ui_data(xfer); |
247 | 247 |
248 get_xfer_info_strings(xfer, &kbsec, &time_elapsed, &time_remaining); | 248 get_xfer_info_strings(xfer, &kbsec, &time_elapsed, &time_remaining); |
249 | 249 |
250 status = g_strdup_printf("%d%% (%" G_GSIZE_FORMAT " of %" G_GSIZE_FORMAT " bytes)", | 250 status = g_strdup_printf("%d%% (%" G_GOFFSET_FORMAT " of %" G_GOFFSET_FORMAT " bytes)", |
251 (int)(purple_xfer_get_progress(xfer)*100), | 251 (int)(purple_xfer_get_progress(xfer)*100), |
252 purple_xfer_get_bytes_sent(xfer), | 252 purple_xfer_get_bytes_sent(xfer), |
253 purple_xfer_get_size(xfer)); | 253 purple_xfer_get_size(xfer)); |
254 | 254 |
255 if (purple_xfer_is_completed(xfer)) { | 255 if (purple_xfer_is_completed(xfer)) { |