aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-07 20:28:28 +0800
committerXan Lopez <xan@gnome.org>2009-09-07 20:31:04 +0800
commit7d58850eb100ff84bb2fe3f48658e01f64bb088c (patch)
treeff3e0aa65c9225039d3a2c9799fd41d575d25db3 /src/ephy-shell.c
parent108eade49982245d1ffcf30159707554cdb63d69 (diff)
downloadgsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar
gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.gz
gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.bz2
gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.lz
gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.xz
gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.zst
gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.zip
Simplify EXPIRE logic in ephy_web_view_set_typed_address
The whole thing just had one functionality at this point as far as I can see: prevent the typed address from being wiped out when a page is loading. Simplify the code to do just that.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 0d37e609f..38c0c1a69 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -515,8 +515,7 @@ ephy_shell_new_tab_full (EphyShell *shell,
if (flags & EPHY_NEW_TAB_HOME_PAGE ||
flags & EPHY_NEW_TAB_NEW_PAGE)
{
- ephy_web_view_set_typed_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), "",
- EPHY_WEB_VIEW_ADDRESS_EXPIRE_NEXT);
+ ephy_web_view_set_typed_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), "");
ephy_toolbar_activate_location (toolbar);
is_empty = load_homepage (embed);
}