summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-18 23:14:15 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2017-09-18 23:18:44 +0100
commit9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f (patch)
tree374f540d0e0db27232ae0bd0deda829f8e00258c /desktop
parente8b9678d3e4ccecad44724878fb5cfd162fd48af (diff)
downloadnetsurf-9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f.tar.gz
netsurf-9b0a3cc35ed482b31d35c3ad804c7a2fc48d190f.tar.bz2
Global history: Flag the URL field as searchable, as well.
Diffstat (limited to 'desktop')
-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 3a06b31a5..ad39a3e41 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),