summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-18 23:15:41 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2017-09-18 23:18:44 +0100
commitec4b9a5dd008785e6498dcefb025f6234965f529 (patch)
treed070caaecf7f4a4231bcd28a16db180c0565e098 /desktop
parent9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f (diff)
downloadnetsurf-ec4b9a5dd008785e6498dcefb025f6234965f529.tar.gz
netsurf-ec4b9a5dd008785e6498dcefb025f6234965f529.tar.bz2
Hotlist (bookmarks): Include the URL field in search.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/hotlist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 79fc28658..4bdd7c8cb 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),