[almanah] VFS: Fixed filename string



commit 94dd1d340869f696efb6e94565a656651f6cb321
Author: Álvaro Peña <alvaropg gmail com>
Date:   Sun Mar 15 18:59:13 2015 +0100

    VFS: Fixed filename string
    
    "original_file" is a GFile not the filename path string...

 src/vfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vfs.c b/src/vfs.c
index c50d320..d0b0b08 100644
--- a/src/vfs.c
+++ b/src/vfs.c
@@ -482,7 +482,7 @@ back_up_file (const gchar *filename)
 
        if (g_file_copy (original_file, backup_file, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, &error) == 
FALSE) {
                /* Translators: The first and second params are file paths, the last param is an error 
message.  */
-               g_warning (_("Error copying the file from %s to %s: %s"), original_file, backup_file, 
error->message);
+               g_warning (_("Error copying the file from %s to %s: %s"), filename, backup_filename, 
error->message);
                retval = FALSE;
        }
 


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