aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/tmpl/EphySingle.sgml2
-rw-r--r--lib/ephy-file-helpers.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/tmpl/EphySingle.sgml b/doc/reference/tmpl/EphySingle.sgml
index c0bacd02a..34ed07e52 100644
--- a/doc/reference/tmpl/EphySingle.sgml
+++ b/doc/reference/tmpl/EphySingle.sgml
@@ -22,7 +22,7 @@ EphySingle
</para>
-@aOwningWidget:
+@aHistory:
@Returns:
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;
}