aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-11 02:14:09 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-11 02:14:09 +0800
commit0367eba34e201693a4769899eaa981357ed09def (patch)
treea1bcaca9ad7276a3567899fee4d6e66c673e9722 /src/ephy-lockdown.c
parentcea36c0d6561dcad2abd0863c28b8b0314ac470f (diff)
downloadgsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.gz
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.bz2
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.lz
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.xz
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.zst
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.zip
Open new tabs with blank url bar if we're loading the homepage. Fixes bug
2005-08-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_address), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/epiphany.defs: Open new tabs with blank url bar if we're loading the homepage. Fixes bug #313012.
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index e02ebb79f..a2397c9df 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -108,7 +108,8 @@ update_location_editable (EphyWindow *window,
address = ephy_embed_get_location (embed, TRUE);
ephy_toolbar_set_location (EPHY_TOOLBAR (toolbar), address, NULL);
- ephy_tab_set_typed_address (tab, NULL);
+ ephy_tab_set_typed_address (tab, NULL,
+ EPHY_TAB_ADDRESS_EXPIRE_CURRENT);
g_free (address);
}
}