aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 79885bd59..a2853fb7d 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -713,7 +713,7 @@ ephy_file_browse_to (GFile *file,
desktop = g_file_new_for_path (desktop_dir);
/* Don't do anything if destination is the desktop */
- if (g_file_contains_file (desktop, file))
+ if (g_file_has_prefix (file, desktop))
{
ret = FALSE;
}