Mercurial > pidgin.yaz
diff src/gtkft.c @ 7107:9220c7490cd1
[gaim-migrate @ 7672]
This is a big one: normalize() -> gaim_normalize, linkify_text() ->
gaim_markup_linkify(), gaim_get_size_string() -> gaim_str_size_to_units(),
and moved clean_pid() to main.c.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 01 Oct 2003 06:17:28 +0000 |
parents | feb3d21a7794 |
children | 02f697df677b |
line wrap: on
line diff
--- a/src/gtkft.c Wed Oct 01 05:56:58 2003 +0000 +++ b/src/gtkft.c Wed Oct 01 06:17:28 2003 +0000 @@ -758,8 +758,8 @@ type = gaim_xfer_get_type(xfer); - size_str = gaim_get_size_string(gaim_xfer_get_size(xfer)); - remaining_str = gaim_get_size_string(gaim_xfer_get_bytes_remaining(xfer)); + size_str = gaim_str_size_to_units(gaim_xfer_get_size(xfer)); + remaining_str = gaim_str_size_to_units(gaim_xfer_get_bytes_remaining(xfer)); pixbuf = gtk_widget_render_icon(dialog->window, (type == GAIM_XFER_RECEIVE @@ -876,8 +876,8 @@ if ((data = GAIM_GTKXFER(xfer)) == NULL) return; - size_str = gaim_get_size_string(gaim_xfer_get_size(xfer)); - remaining_str = gaim_get_size_string(gaim_xfer_get_bytes_remaining(xfer)); + size_str = gaim_str_size_to_units(gaim_xfer_get_size(xfer)); + remaining_str = gaim_str_size_to_units(gaim_xfer_get_bytes_remaining(xfer)); gtk_list_store_set(xfer_dialog->model, &data->iter, COLUMN_PROGRESS, gaim_xfer_get_progress(xfer), @@ -1102,7 +1102,7 @@ size = gaim_xfer_get_size(xfer); - size_buf = gaim_get_size_string(size); + size_buf = gaim_str_size_to_units(size); buf = g_strdup_printf(_("%s wants to send you %s (%s)"), xfer->who, gaim_xfer_get_filename(xfer), size_buf);