summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-18 22:14:15 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-09-18 22:18:44 (GMT)
commit9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f (patch)
tree374f540d0e0db27232ae0bd0deda829f8e00258c
parente8b9678d3e4ccecad44724878fb5cfd162fd48af (diff)
downloadnetsurf-9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f.tar.gz
netsurf-9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f.tar.bz2
Global history: Flag the URL field as searchable, as well.
-rw-r--r--desktop/global_history.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c
index 3a06b31..ad39a3e 100644
--- a/desktop/global_history.c
+++ b/desktop/global_history.c
@@ -536,7 +536,9 @@ static nserror global_history_initialise_entry_fields(void)
goto error;
}
- gh_ctx.fields[GH_URL].flags = TREE_FLAG_COPY_TEXT;
+ gh_ctx.fields[GH_URL].flags =
+ TREE_FLAG_COPY_TEXT |
+ TREE_FLAG_SEARCHABLE;
label = "TreeviewLabelURL";
label = messages_get(label);
if (lwc_intern_string(label, strlen(label),