summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammetk@gmail.com>2015-03-01 17:17:01 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-03-01 19:37:42 +0100
commit1febd51d390b71c15746f8b88d2b4deb7848e824 (patch)
tree712ee94e4a7f57e9edc4de6ad317c0a566b1e21b
parent21c38ac32e0d7ec1c119df6e308a7fa789c76648 (diff)
downloadnautilus-1febd51d390b71c15746f8b88d2b4deb7848e824.tar.gz
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
-rw-r--r--src/nautilus-window-slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 70376fecb..18242b63c 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);