summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-18 22:15:41 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-09-18 22:18:44 (GMT)
commitec4b9a5dd008785e6498dcefb025f6234965f529 (patch)
treed070caaecf7f4a4231bcd28a16db180c0565e098
parent9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f (diff)
downloadnetsurf-ec4b9a5dd008785e6498dcefb025f6234965f529.tar.gz
netsurf-ec4b9a5dd008785e6498dcefb025f6234965f529.tar.bz2
Hotlist (bookmarks): Include the URL field in search.
-rw-r--r--desktop/hotlist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 79fc286..4bdd7c8 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -1198,8 +1198,10 @@ static nserror hotlist_initialise_entry_fields(void)
goto error;
}
- hl_ctx.fields[HL_URL].flags = TREE_FLAG_ALLOW_EDIT |
- TREE_FLAG_COPY_TEXT;
+ hl_ctx.fields[HL_URL].flags =
+ TREE_FLAG_ALLOW_EDIT |
+ TREE_FLAG_COPY_TEXT |
+ TREE_FLAG_SEARCHABLE;
label = "TreeviewLabelURL";
label = messages_get(label);
if (lwc_intern_string(label, strlen(label),