aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2013-05-04 00:37:11 +0800
committerGustavo Noronha Silva <gns@gnome.org>2013-05-04 03:28:13 +0800
commit5ee94f4954f6e4b49eabeafd6a9bd6ee925f395d (patch)
treec4261b260af1955eb6dc51a148f00a99e80b5a03 /lib
parent1f6c4b033e5ff7a21a96abde2e804585e4f234f9 (diff)
downloadgsoc2013-epiphany-5ee94f4954f6e4b49eabeafd6a9bd6ee925f395d.tar.gz
gsoc2013-epiphany-5ee94f4954f6e4b49eabeafd6a9bd6ee925f395d.tar.zst
gsoc2013-epiphany-5ee94f4954f6e4b49eabeafd6a9bd6ee925f395d.zip
Allow running a regular standalone instance with a different profile
Adds a new standalone shell mode and removes restrictions on using --profile in a non-private, non-incognito instance of the browser. Useful for debugging or improving features that rely on being in a regular session, such as password and session saving/restoring. https://bugzilla.gnome.org/show_bug.cgi?id=699602
Diffstat (limited to 'lib')
-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 a55d45389..fd4af3898 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -319,7 +319,7 @@ ephy_file_helpers_init (const char *profile_dir,
private_profile = flags & EPHY_FILE_HELPERS_PRIVATE_PROFILE;
steal_data_from_profile = flags & EPHY_FILE_HELPERS_STEAL_DATA;
- if (private_profile && profile_dir != NULL && !steal_data_from_profile)
+ if (profile_dir != NULL && !steal_data_from_profile)
{
dot_dir = g_strdup (profile_dir);
}