diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-02-23 10:20:51 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-23 10:20:51 +0800 |
commit | db0e48d09abcc0134efac3ce2717c42a216b18e3 (patch) | |
tree | b44b835ecd180d5efc0d3822613837c0c95131a5 /src/toolbar.c | |
parent | 6fb4ac671cbcfdd90fffb7752f3fdce8f80cc30e (diff) | |
download | gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.tar gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.tar.gz gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.tar.bz2 gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.tar.lz gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.tar.xz gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.tar.zst gsoc2013-epiphany-db0e48d09abcc0134efac3ce2717c42a216b18e3.zip |
Update location entry with the urls selected on the drop down. Implement
2003-02-23 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-autocompletion-window.c:
(ephy_autocompletion_window_class_init),
(ephy_autocompletion_window_key_press_hack):
* lib/widgets/ephy-autocompletion-window.h:
* lib/widgets/ephy-editable-toolbar.c: (drag_data_delete_cb),
(drag_data_get_cb), (connect_toolbar_drag_source),
(disconnect_toolbar_drag_source), (do_merge), (editor_close_cb),
(button_press_cb), (ephy_editable_toolbar_edit):
* lib/widgets/ephy-location-entry.c: (location_focus_out_cb),
(ephy_location_entry_init), (real_entry_set_location),
(ephy_location_entry_key_press_event_cb),
(ephy_location_entry_activate_cb),
(ephy_location_entry_set_location),
(ephy_location_entry_autocompletion_window_url_selected_cb),
(ephy_location_entry_set_autocompletion),
(ephy_location_entry_autocompletion_window_url_activated_cb),
(ephy_location_entry_autocompletion_window_hidden_cb),
(ephy_location_entry_edit):
* lib/widgets/ephy-location-entry.h:
* src/ephy-shell.c: (ephy_shell_new_tab):
* src/ephy-window.c: (add_widget):
* src/toolbar.c: (toolbar_edit_location):
* src/toolbar.h:
Update location entry with the urls selected on the drop down.
Implement editing mode in location entry == when the user is typing
an url try to do not disturb (mozilla still grab the focus damnit).
Dont put the homepage url in the location. I'm not sure if this is
a good behavior for normal urls (I dont see problems, but please
prove me wrong), but for about:blank it's needed.
Diffstat (limited to 'src/toolbar.c')
-rwxr-xr-x | src/toolbar.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/toolbar.c b/src/toolbar.c index 7eb0ee1ad..690edc1b7 100755 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -405,6 +405,22 @@ toolbar_new (EphyWindow *window) } void +toolbar_edit_location (Toolbar *t) +{ + EggAction *action; + GtkWidget *location; + + action = egg_action_group_get_action + (t->priv->action_group, "Location"); + location = ephy_location_action_get_widget + (EPHY_LOCATION_ACTION (action)); + g_return_if_fail (location != NULL); + + ephy_location_entry_edit + (EPHY_LOCATION_ENTRY(location)); +} + +void toolbar_activate_location (Toolbar *t) { EggAction *action; |