aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnome/epiphany/file_contains.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gnome/epiphany/file_contains.patch')
-rw-r--r--recipes/gnome/epiphany/file_contains.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/gnome/epiphany/file_contains.patch b/recipes/gnome/epiphany/file_contains.patch
new file mode 100644
index 0000000000..541ef9a6ed
--- /dev/null
+++ b/recipes/gnome/epiphany/file_contains.patch
@@ -0,0 +1,13 @@
+Index: epiphany-2.21.92/lib/ephy-file-helpers.c
+===================================================================
+--- epiphany-2.21.92.orig/lib/ephy-file-helpers.c 2008-04-19 10:26:48.000000000 +0100
++++ epiphany-2.21.92/lib/ephy-file-helpers.c 2008-04-19 10:27:21.000000000 +0100
+@@ -713,7 +713,7 @@
+ 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 (desktop, file))
+ {
+ ret = FALSE;
+ }