aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2011-12-04 00:08:37 +0800
committerXan Lopez <xan@igalia.com>2011-12-04 00:11:34 +0800
commitbea26fc30ac9ff3def2d18d237509a18b3829e27 (patch)
tree5da1657cf6b218587e4df68d7f3acfc1ac95edd8 /src/ephy-shell.c
parent0caf7b0f44349cbfd072cb49dbdc609de317a971 (diff)
downloadgsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.gz
gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.zst
gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.zip
Remove homepage preference from GSettings
Hardcode it to be "about:blank". The final step could be completely remove the rest of the code, but it might be useful for the future Overview page (if we consider it the new "homepage"). https://bugzilla.gnome.org/show_bug.cgi?id=665469
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c3
1 files changed, 2 insertions, 1 deletions
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);