[gthumb] Use fd->utf8_name instead of file_name_from_path function



commit c20be9eb552cd7886a285fac13ce1cbf3db968c9
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Wed May 6 16:23:06 2009 -0400

    Use fd->utf8_name instead of file_name_from_path function
---
 src/dlg-photo-importer.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/dlg-photo-importer.c b/src/dlg-photo-importer.c
index 4d54841..c074fe4 100644
--- a/src/dlg-photo-importer.c
+++ b/src/dlg-photo-importer.c
@@ -1505,8 +1505,7 @@ copy_images__step (AsyncOperationData *aodata,
 
         if (data->msg_text != NULL)
 		g_free (data->msg_text);
-	data->msg_text = g_strdup_printf (_("Transferring '%s' to its destination folder."), 
-					  file_name_from_path (file->path));
+	data->msg_text = g_strdup_printf (_("Transferring '%s' to its destination folder."), file->utf8_name);
 
 	update_file_from_cache (file, done_func, aodata);
 	file_data_unref (file);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]