[gthumb/ext] use destination parse name rather than uri in file progress dialog



commit 9a2753c82d5d67c294fff36019323f9020f74ec4
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Wed Oct 14 09:37:00 2009 -0400

    use destination parse name rather than uri in file progress dialog

 gthumb/gio-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index 67e91f8..7bf16cf 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -1272,7 +1272,7 @@ _g_copy_file_to_destination (CopyFileData   *copy_file_data,
 		g_free (copy_file_data->message);
 
 		destination_parent = g_file_get_parent (copy_file_data->current_destination);
-		destination_name = g_file_get_uri (destination_parent);
+		destination_name = g_file_get_parse_name (destination_parent);
 		if (copy_file_data->move)
 			copy_file_data->message = g_strdup_printf (_("Moving \"%s\" to \"%s\""), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
 		else



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