diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-18 17:16:47 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-18 17:16:47 +0100 |
commit | f389c7ad6eefcd7bb32615deac3d80fd1d3054de (patch) | |
tree | 5b667b1cbefe976fd8d3800dc38167eee8078e80 /desktop/hotlist.c | |
parent | fd961c6dfabbfc8dc14b1cd710c8ccbdd89b1bc7 (diff) | |
download | netsurf-f389c7ad6eefcd7bb32615deac3d80fd1d3054de.tar.gz netsurf-f389c7ad6eefcd7bb32615deac3d80fd1d3054de.tar.bz2 |
Set allow edit flag on title and url fields.
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 8a1c692f7..620d618f3 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -744,7 +744,8 @@ static nserror hotlist_initialise_entry_fields(void) for (i = 0; i < HL_N_FIELDS; i++) hl_ctx.fields[i].field = NULL; - hl_ctx.fields[HL_TITLE].flags = TREE_FLAG_DEFAULT; + hl_ctx.fields[HL_TITLE].flags = TREE_FLAG_DEFAULT | + TREE_FLAG_ALLOW_EDIT; label = "TreeviewLabelTitle"; label = messages_get(label); if (lwc_intern_string(label, strlen(label), @@ -753,7 +754,7 @@ static nserror hotlist_initialise_entry_fields(void) goto error; } - hl_ctx.fields[HL_URL].flags = TREE_FLAG_NONE; + hl_ctx.fields[HL_URL].flags = TREE_FLAG_ALLOW_EDIT; label = "TreeviewLabelURL"; label = messages_get(label); if (lwc_intern_string(label, strlen(label), @@ -780,7 +781,8 @@ static nserror hotlist_initialise_entry_fields(void) goto error; } - hl_ctx.fields[HL_FOLDER].flags = TREE_FLAG_DEFAULT; + hl_ctx.fields[HL_FOLDER].flags = TREE_FLAG_DEFAULT | + TREE_FLAG_ALLOW_EDIT; label = "TreeviewLabelFolder"; label = messages_get(label); if (lwc_intern_string(label, strlen(label), |