summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-01-11 12:46:42 +0000
committerPacho Ramos <pacho@gentoo.org>2010-01-11 12:46:42 +0000
commit4b2ae0b88da0eba7f69547dbc014e42b294bfbba (patch)
treeb32cdff77fd1536ef8e31278f7a616db2bf11cbc /www-client/epiphany/files
parentRevbump, migrating to ruby-fakegem. Tests restricted due to an unpackaged git... (diff)
downloadhistorical-4b2ae0b88da0eba7f69547dbc014e42b294bfbba.tar.gz
historical-4b2ae0b88da0eba7f69547dbc014e42b294bfbba.tar.bz2
historical-4b2ae0b88da0eba7f69547dbc014e42b294bfbba.zip
Fix download dir reset
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'www-client/epiphany/files')
-rw-r--r--www-client/epiphany/files/epiphany-2.26.3-revert-downloadir.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/www-client/epiphany/files/epiphany-2.26.3-revert-downloadir.patch b/www-client/epiphany/files/epiphany-2.26.3-revert-downloadir.patch
new file mode 100644
index 000000000000..b90f667afa04
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-2.26.3-revert-downloadir.patch
@@ -0,0 +1,39 @@
+From: Pacho Ramos <pacho@gentoo.org>
+Date: Wed, 06 Jan 2010 14:17:24 +0000
+Subject: Revert upstream commit 7dbe33b5bfd99ff4ef116f8ccf4777edd8ade788
+(Chdir to / in the factory, so we don't hog any mountpoints.)
+Discussed in:
+https://bugzilla.gnome.org/show_bug.cgi?id=583616
+http://bugs.gentoo.org/show_bug.cgi?id=292867
+---
+--- lib/ephy-file-chooser.c~ 2009-05-28 21:26:21.000000000 +0200
++++ lib/ephy-file-chooser.c 2010-01-06 15:13:23.000000000 +0100
+@@ -375,7 +375,6 @@
+ * run.
+ */
+
+- gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), g_get_home_dir ());
+
+ if (persist_key != NULL)
+ {
+--- lib/ephy-file-helpers.c~ 2009-05-28 21:26:21.000000000 +0200
++++ lib/ephy-file-helpers.c 2010-01-06 15:14:09.000000000 +0100
+@@ -33,7 +33,6 @@
+ #include "ephy-string.h"
+
+ #include <glib.h>
+-#include <glib/gstdio.h>
+ #include <glib/gi18n.h>
+ #include <gio/gio.h>
+ #include <gio/gdesktopappinfo.h>
+@@ -264,10 +263,6 @@
+ {
+ const char *uuid;
+
+- /* Make sure the server process doesn't hog any mountpoints! */
+- if (chdir ("/") < 0)
+- g_warning ("Failed to chdir to /: %s", g_strerror (errno));
+-
+ /* See if we've been calling ourself, and abort if we have */
+ uuid = g_getenv (EPHY_UUID_ENVVAR);
+ if (uuid && strcmp (uuid, EPHY_UUID) == 0)