diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-26 22:41:39 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-26 22:41:39 +0800 |
commit | 8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a (patch) | |
tree | b9772afea471786562765f12883c8478381ae08a /src/ephy-tab.c | |
parent | d893c0a52260d98b475bafada38273643342d2ee (diff) | |
download | gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.tar gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.tar.gz gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.tar.bz2 gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.tar.lz gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.tar.xz gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.tar.zst gsoc2013-epiphany-8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a.zip |
Fix ESC behaviour to always stop, and to reset the location entry when
2005-07-24 Christian Persch <chpe@cvs.gnome.org>
* data/ui/epiphany-ui.xml:
* lib/widgets/ephy-location-entry.c:
(ephy_location_entry_finalize), (update_address_state),
(update_favicon), (editable_changed_cb), (entry_button_press_cb),
(match_selected_cb), (entry_key_press_cb),
(ephy_location_entry_construct_contents),
(ephy_location_entry_set_location), (ephy_location_entry_reset),
(ephy_location_entry_set_favicon):
* lib/widgets/ephy-location-entry.h:
* src/ephy-location-action.c: (entry_activate_cb),
(user_changed_cb), (sync_address), (connect_proxy),
(ephy_location_action_set_property),
(ephy_location_action_finalize),
(ephy_location_action_set_address):
* src/ephy-location-action.h:
* src/ephy-lockdown.c: (update_location_editable):
* src/ephy-tab.c: (ephy_tab_get_typed_address):
* src/ephy-toolbar.c: (ephy_toolbar_set_location):
* src/ephy-toolbar.h:
* src/ephy-window.c: (ephy_window_key_press_event),
(sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb):
* src/epiphany.defs:
* src/window-commands.c: (window_cmd_view_stop):
Fix ESC behaviour to always stop, and to reset the location entry
when it's focused only. Reset the location entry favicon to the stock
icon when the address shown is != the tab's address.
When switching tab, preserve the selection if it was owned by the
location entry. Fixes bug #155824.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r-- | src/ephy-tab.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 54ba837c8..8c244f6cc 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -2208,22 +2208,12 @@ const char * ephy_tab_get_typed_address (EphyTab *tab) { EphyTabPrivate *priv; - const char *address = ""; g_return_val_if_fail (EPHY_IS_TAB (tab), NULL); priv = tab->priv; - if (priv->typed_address) - { - address = priv->typed_address; - } - else if (priv->address) - { - address = priv->address; - } - - return address; + return priv->typed_address; } /** |