aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.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-toolbar.c
parent108eade49982245d1ffcf30159707554cdb63d69 (diff)
downloadgsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.gz
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-toolbar.c')
-rw-r--r--src/ephy-toolbar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index e91b8ed62..61a34fccc 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -183,8 +183,7 @@ sync_user_input_cb (EphyLocationAction *action,
address = ephy_location_action_get_address (action);
priv->updating_address = TRUE;
- ephy_web_view_set_typed_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), address,
- EPHY_WEB_VIEW_ADDRESS_EXPIRE_CURRENT);
+ ephy_web_view_set_typed_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), address);
priv->updating_address = FALSE;
}