diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-19 02:06:02 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-19 02:06:02 +0800 |
commit | b40f531dea45d3b365bd310536afddc32573caad (patch) | |
tree | 25e2c51d81a54558ad18494a935d2eacf6cd4b3f /src | |
parent | babb935ba03b3888164c609b9d6c498f392dd2c0 (diff) | |
download | gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.tar gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.tar.gz gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.tar.bz2 gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.tar.lz gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.tar.xz gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.tar.zst gsoc2013-epiphany-b40f531dea45d3b365bd310536afddc32573caad.zip |
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')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 2 | ||||
-rw-r--r-- | src/ephy-location-action.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 9d4269a4e..86e824fc3 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -183,7 +183,7 @@ ephy_bookmarks_autocompletion_source_foreach (EphyAutocompletionSource *source, (kid, EPHY_NODE_BMK_PROP_KEYWORDS); func (source, keywords, title, url, smart_url, - TRUE, 0, data); + !smart_url, 0, data); } ephy_node_thaw (eb->priv->bookmarks); } 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) |