summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-18 22:13:39 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-09-18 22:18:44 (GMT)
commite8b9678d3e4ccecad44724878fb5cfd162fd48af (patch)
tree0e26d5fe4efd9793f9f9360e5b761ea40c88abd0
parentfae758f5a98a0e382a25044259eb2b2ae7e70e53 (diff)
downloadnetsurf-e8b9678d3e4ccecad44724878fb5cfd162fd48af.tar.gz
netsurf-e8b9678d3e4ccecad44724878fb5cfd162fd48af.tar.bz2
Cookie manager: Flag the domain field as searchable; more use than name.
-rw-r--r--desktop/cookie_manager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/cookie_manager.c b/desktop/cookie_manager.c
index d27a8d6..a2aab8e 100644
--- a/desktop/cookie_manager.c
+++ b/desktop/cookie_manager.c
@@ -576,7 +576,9 @@ static nserror cookie_manager_init_entry_fields(void)
goto error;
}
- cm_ctx.fields[COOKIE_M_DOMAIN].flags = TREE_FLAG_SHOW_NAME;
+ cm_ctx.fields[COOKIE_M_DOMAIN].flags =
+ TREE_FLAG_SHOW_NAME |
+ TREE_FLAG_SEARCHABLE;
label = "TreeviewLabelDomain";
label = messages_get(label);
if (lwc_intern_string(label, strlen(label),