diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-09-20 17:37:26 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-09-20 17:37:26 +0800 |
commit | 68616208eeeee369e62c9256fc9aba5dbe139e3e (patch) | |
tree | 279fbbbeb9bfb24372c9a3a9b6d169284c877e8d /src/window-commands.c | |
parent | f7c6e1db094b8f4da058aaec9b2faa9498326b59 (diff) | |
download | gsoc2013-epiphany-68616208eeeee369e62c9256fc9aba5dbe139e3e.tar.gz gsoc2013-epiphany-68616208eeeee369e62c9256fc9aba5dbe139e3e.tar.zst gsoc2013-epiphany-68616208eeeee369e62c9256fc9aba5dbe139e3e.zip |
Remember the address in the location action, so we can restore it when we
2003-09-20 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-location-entry.c:
(ephy_location_entry_class_init),
(ephy_location_entry_activation_finished), (location_focus_out_cb),
(ephy_location_entry_init), (ephy_location_ignore_prefix),
(ephy_location_entry_activate_cb),
(ephy_location_entry_set_location),
(ephy_location_entry_get_location), (ephy_location_entry_activate),
(ephy_location_entry_editable_changed_cb),
(ephy_location_entry_clear_history):
* lib/widgets/ephy-location-entry.h:
* src/ephy-location-action.c: (location_url_activate_cb),
(user_changed_cb), (sync_address), (connect_proxy),
(disconnect_proxy), (ephy_location_action_set_property),
(ephy_location_action_get_property),
(ephy_location_action_activate), (ephy_location_action_class_init),
(ephy_location_action_init), (ephy_location_action_finalize),
(ephy_location_action_get_address),
(ephy_location_action_set_address), (clear_history),
(ephy_location_action_clear_history):
* src/ephy-location-action.h:
* src/toolbar.c: (toolbar_class_init), (toolbar_set_property),
(sync_user_input_cb), (toolbar_setup_actions),
(toolbar_set_window), (toolbar_init), (toolbar_finalize),
(toolbar_new), (toolbar_activate_location), (toolbar_set_location),
(toolbar_get_location), (toolbar_clear_location_history):
* src/toolbar.h:
* src/window-commands.c: (window_cmd_load_location):
Remember the address in the location action, so we can restore it when we
get a new proxy widget.
Do some misc cleanups on location entry, removing finished signal; move
activation from toolbar into location entry.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index b111ef50f..e4dcac9d5 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -915,7 +915,7 @@ window_cmd_load_location (GtkAction *action, EphyWindow *window) { Toolbar *toolbar; - char *location; + const char *location; toolbar = ephy_window_get_toolbar (window); location = toolbar_get_location (toolbar); @@ -923,7 +923,6 @@ window_cmd_load_location (GtkAction *action, if (location) { ephy_window_load_url (window, location); - g_free (location); } } |