summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanko Kaneti <yaneti@declera.com>2015-08-21 17:17:08 +0300
committerYanko Kaneti <yaneti@declera.com>2015-08-21 17:19:27 +0300
commit58295f38272f650afcd18ee1bdc58ca180495af5 (patch)
tree1298d0a92f7bbfb45e853066214d3061faf6d790
parentb1bb1e9f8d939ff31c43293a064795253821a360 (diff)
downloadnautilus-58295f38272f650afcd18ee1bdc58ca180495af5.tar.gz
list-view: Fix typo causing crash on searches outside home
-rw-r--r--src/nautilus-list-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index f835d1b23..9eac2d5cc 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -1710,7 +1710,7 @@ location_cell_data_func (GtkTreeViewColumn *column,
} else if (g_file_has_prefix (dir_location, base_location)) {
gchar *relative_path;
- relative_path = g_file_get_relative_path (home_location, dir_location);
+ relative_path = g_file_get_relative_path (base_location, dir_location);
where = g_filename_display_name (relative_path);
g_free (relative_path);