aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-05-31 03:37:16 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-05-31 03:37:16 +0800
commit722e0258ff607d8b02de9f2e6478ddda5707363b (patch)
tree8adab6d301893c9dacf06df3157222e0d8937578
parenteabb1dc863f7be46f7fc6b9b8fbffc788e2fec49 (diff)
downloadgsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.tar
gsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.tar.gz
gsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.tar.bz2
gsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.tar.lz
gsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.tar.xz
gsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.tar.zst
gsoc2013-epiphany-722e0258ff607d8b02de9f2e6478ddda5707363b.zip
Make the bookmarks editor search in urls and titles, closes: #328489.
svn path=/branches/gnome-2-22/; revision=8264
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 615e550f7..f506a9a52 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1588,6 +1588,11 @@ search_entry_search_cb (GtkWidget *entry, const char *search_text, EphyBookmarks
0);
ephy_node_filter_add_expression (editor->priv->bookmarks_filter,
ephy_node_filter_expression_new (EPHY_NODE_FILTER_EXPRESSION_STRING_PROP_CONTAINS,
+ EPHY_NODE_BMK_PROP_LOCATION,
+ search_text),
+ 0);
+ ephy_node_filter_add_expression (editor->priv->bookmarks_filter,
+ ephy_node_filter_expression_new (EPHY_NODE_FILTER_EXPRESSION_STRING_PROP_CONTAINS,
EPHY_NODE_BMK_PROP_KEYWORDS,
search_text),
0);