[gthumb/ext] say "moving" where moving files



commit 82edf7793ab279be85422920fab3a3dfac8229c7
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Sep 22 13:49:29 2009 +0200

    say "moving" where moving files
    
    [bug #594774]

 gthumb/gio-utils.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index 43dde7e..83f7394 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -1265,7 +1265,10 @@ _g_copy_file_to_destination (CopyFileData   *copy_file_data,
 
 		destination_parent = g_file_get_parent (copy_file_data->current_destination);
 		destination_name = g_file_get_uri (destination_parent);
-		copy_file_data->message = g_strdup_printf (_("Copying \"%s\" to \"%s\""), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
+		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
+			copy_file_data->message = g_strdup_printf (_("Copying \"%s\" to \"%s\""), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
 
 		g_free (destination_name);
 		g_object_unref (destination_parent);
@@ -1570,7 +1573,7 @@ _g_copy_files_async (GList            *sources, /* GFile list */
 
 	if (copy_data->progress_callback != NULL)
 		copy_data->progress_callback (NULL,
-					      _("Copying files"),
+					      copy_data->move ? _("Moving files") : _("Copying files"),
 					      _("Getting file information"),
 					      TRUE,
 					      0.0,



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