diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-11 02:14:09 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-11 02:14:09 +0800 |
commit | 0367eba34e201693a4769899eaa981357ed09def (patch) | |
tree | a1bcaca9ad7276a3567899fee4d6e66c673e9722 /src/ephy-tab.h | |
parent | cea36c0d6561dcad2abd0863c28b8b0314ac470f (diff) | |
download | gsoc2013-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-tab.h')
-rw-r--r-- | src/ephy-tab.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ephy-tab.h b/src/ephy-tab.h index ac39899ce..f84595c02 100644 --- a/src/ephy-tab.h +++ b/src/ephy-tab.h @@ -42,11 +42,18 @@ typedef struct _EphyTabPrivate EphyTabPrivate; typedef enum { - EPHY_TAB_NAV_UP = 1 << 0, + EPHY_TAB_NAV_UP = 1 << 0, EPHY_TAB_NAV_BACK = 1 << 1, EPHY_TAB_NAV_FORWARD = 1 << 2 } EphyTabNavigationFlags; +typedef enum +{ + EPHY_TAB_ADDRESS_EXPIRE_NOW, + EPHY_TAB_ADDRESS_EXPIRE_NEXT, + EPHY_TAB_ADDRESS_EXPIRE_CURRENT +} EphyTabAddressExpire; + struct _EphyTab { GtkBin parent; @@ -89,7 +96,8 @@ const char *ephy_tab_get_address (EphyTab *tab); const char *ephy_tab_get_typed_address (EphyTab *tab); void ephy_tab_set_typed_address (EphyTab *tab, - const char *address); + const char *address, + EphyTabAddressExpire expire); EphyTabNavigationFlags ephy_tab_get_navigation_flags (EphyTab *tab); |