[nautilus] nautilus-window-slot: Fixed ugly error message



commit 1febd51d390b71c15746f8b88d2b4deb7848e824
Author: Muhammet Kara <muhammetk gmail com>
Date:   Sun Mar 1 17:17:01 2015 +0200

    nautilus-window-slot: Fixed ugly error message
    
    Fixed assignment of error message detail to fix
    the ugly error message displayed when trying to
    navigate to a nonexistent location in the local
    file system.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745369

 src/nautilus-window-slot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 70376fe..18242b6 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -1600,7 +1600,7 @@ display_view_selection_failure (NautilusWindow *window, NautilusFile *file,
        } else if (error->domain == G_IO_ERROR) {
                switch (error->code) {
                case G_IO_ERROR_NOT_FOUND:
-                       error_message = g_strdup (_("Unable to find the requested file. Please check the 
spelling and try again."));
+                       detail_message = g_strdup (_("Unable to find the requested file. Please check the 
spelling and try again."));
                        break;
                case G_IO_ERROR_NOT_SUPPORTED:
                        scheme_string = g_file_get_uri_scheme (location);


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