diff options
Diffstat (limited to 'src/ephy-automation.c')
-rw-r--r-- | src/ephy-automation.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ephy-automation.c b/src/ephy-automation.c index 586587adf..fd9e33257 100644 --- a/src/ephy-automation.c +++ b/src/ephy-automation.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000, 2001, 2002 Marco Pesenti Gritti * @@ -53,6 +54,11 @@ impl_ephy_automation_loadurl (PortableServer_Servant _servant, session = EPHY_SESSION (ephy_shell_get_session (ephy_shell)); g_return_if_fail (session != NULL); + if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_ARBITRARY_URL)) + { + url = ""; + } + if (ephy_session_autoresume (session) && *url == '\0') { /* no need to open the homepage, |