empathy r1769 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1769 - trunk/libempathy-gtk
- Date: Fri, 21 Nov 2008 16:15:51 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:15:50 2008
New Revision: 1769
URL: http://svn.gnome.org/viewvc/empathy?rev=1769&view=rev
Log:
Replaced gnome_vfs_format_file_size_for_display with its GIO equivalent. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy-gtk/empathy-ft-manager.c
Modified: trunk/libempathy-gtk/empathy-ft-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ft-manager.c (original)
+++ trunk/libempathy-gtk/empathy-ft-manager.c Fri Nov 21 16:15:50 2008
@@ -377,9 +377,9 @@
* 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 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]