summaryrefslogtreecommitdiff
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-18 18:06:02 +0000
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-18 18:06:02 +0000
commitb40f531dea45d3b365bd310536afddc32573caad (patch)
tree25e2c51d81a54558ad18494a935d2eacf6cd4b3f /src/ephy-location-action.c
parentbabb935ba03b3888164c609b9d6c498f392dd2c0 (diff)
downloadepiphany-b40f531dea45d3b365bd310536afddc32573caad.tar.gz
Use insert_text delete_text to show/hide the autocompletion window.
2003-06-18 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-autocompletion.c: (ephy_autocompletion_refine_matches), (ephy_autocompletion_update_matches_full_item): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_build), (ephy_location_entry_autocompletion_show_alternatives_to), (real_entry_set_location), (delete_text_cb), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_content_is_text), (ephy_location_entry_activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach): * src/ephy-location-action.c: (create_tool_item), (location_url_activate_cb): Use insert_text delete_text to show/hide the autocompletion window. Remember last search with autocompletion smart bookmarks.
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index a87796d3d..67ac05be3 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -70,7 +70,7 @@ create_tool_item (EggAction *action)
LOG ("Create location toolitem")
- item = GTK_WIDGET (egg_tool_item_new ());//(* EGG_ACTION_CLASS (parent_class)->create_tool_item) (action);
+ item = GTK_WIDGET (egg_tool_item_new ());
location = ephy_location_entry_new ();
gtk_container_add (GTK_CONTAINER (item), location);
egg_tool_item_set_expand (EGG_TOOL_ITEM (item), TRUE);
@@ -88,7 +88,9 @@ location_url_activate_cb (EphyLocationEntry *entry,
EphyLocationAction *action)
{
EphyBookmarks *bookmarks;
- LOG ("Location url activated")
+
+ LOG ("Location url activated, content %s target %s", content, target)
+
bookmarks = ephy_shell_get_bookmarks (ephy_shell);
if (!content)