diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-11-22 00:15:50 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:15:50 +0800 |
commit | c9c339eddb7800ff88f00dbad95849cea3f56b97 (patch) | |
tree | 89b91902b305a472d8c2f91fa7d045e84d062023 | |
parent | ee2f8cf1ead02aff7c0da47175868b4caa4d246b (diff) | |
download | gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.tar gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.tar.gz gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.tar.bz2 gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.tar.lz gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.tar.xz gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.tar.zst gsoc2013-empathy-c9c339eddb7800ff88f00dbad95849cea3f56b97.zip |
Replaced gnome_vfs_format_file_size_for_display with its GIO equivalent. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1769
-rw-r--r-- | libempathy-gtk/empathy-ft-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c index 20d41ba75..4054c3a58 100644 --- a/libempathy-gtk/empathy-ft-manager.c +++ b/libempathy-gtk/empathy-ft-manager.c @@ -377,9 +377,9 @@ update_ft_row (EmpathyFTManager *ft_manager, * OMIT it in the translated string. */ total_size_str = g_strdup (Q_("file size|Unknown")); else - total_size_str = gnome_vfs_format_file_size_for_display (total_size); + total_size_str = g_format_size_for_display (total_size); - transferred_bytes_str = gnome_vfs_format_file_size_for_display (transferred_bytes); + transferred_bytes_str = g_format_size_for_display (transferred_bytes); /* translators: first %s is the transferred size, second %s is * the total file size */ @@ -1167,7 +1167,7 @@ ft_manager_display_accept_dialog (EmpathyFTManager *ft_manager, if (size == EMPATHY_FILE_UNKNOWN_SIZE) size_str = g_strdup (_("unknown size")); else - size_str = gnome_vfs_format_file_size_for_display (size); + size_str = g_format_size_for_display (size); dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_NONE, |