aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-home-action.c7
-rw-r--r--src/ephy-shell.c3
2 files changed, 3 insertions, 7 deletions
diff --git a/src/ephy-home-action.c b/src/ephy-home-action.c
index 0fb0967aa..483d02c28 100644
--- a/src/ephy-home-action.c
+++ b/src/ephy-home-action.c
@@ -158,16 +158,11 @@ static void
ephy_home_action_activate (GtkAction *action)
{
char *action_name;
- char *address;
g_object_get (G_OBJECT (action), "name", &action_name, NULL);
- address = g_settings_get_string (EPHY_SETTINGS_MAIN,
- EPHY_PREFS_HOMEPAGE_URL);
+ action_name_association (action, action_name, "about:blank", FALSE);
- action_name_association (action, action_name, address, FALSE);
-
- g_free (address);
g_free (action_name);
}
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index fe6b04c23..f454acc84 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -703,7 +703,8 @@ ephy_shell_new_tab_full (EphyShell *shell,
EphyWebView *view = ephy_embed_get_web_view (embed);
ephy_web_view_set_typed_address (view, "");
ephy_toolbar_activate_location (toolbar);
- is_empty = ephy_web_view_load_homepage (view);
+ ephy_web_view_load_homepage (view);
+ is_empty = TRUE;
} else if (flags & EPHY_NEW_TAB_OPEN_PAGE) {
ephy_web_view_load_request (ephy_embed_get_web_view (embed),
request);