diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-29 18:31:58 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-29 18:31:58 +0100 |
commit | afaf24378ba8de2e781801b270f2d124fcd6836c (patch) | |
tree | 24c462a1ee37c1591333cbadae9c81b237ab2e72 /desktop/global_history.c | |
parent | 895954a1e1de4da43cbba6cbe431983d43dda8c6 (diff) | |
download | netsurf-afaf24378ba8de2e781801b270f2d124fcd6836c.tar.gz netsurf-afaf24378ba8de2e781801b270f2d124fcd6836c.tar.bz2 |
Add flag to suppress redraw on node creation.
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r-- | desktop/global_history.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c index 3861ee27b..66bf37dcb 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -198,7 +198,8 @@ static nserror global_history_create_dir(enum global_history_folders f) &gh_ctx.folders[f].data, &gh_ctx.folders[f], gh_ctx.built ? TREE_CREATE_NONE : - TREE_CREATE_SUPPRESS_RESIZE); + TREE_CREATE_SUPPRESS_RESIZE | + TREE_CREATE_SUPPRESS_REDRAW); return err; } @@ -326,7 +327,8 @@ static nserror global_history_entry_insert(struct global_history_entry *e, err = treeview_create_node_entry(gh_ctx.tree, &(e->entry), parent, TREE_REL_FIRST_CHILD, e->data, e, gh_ctx.built ? TREE_CREATE_NONE : - TREE_CREATE_SUPPRESS_RESIZE); + TREE_CREATE_SUPPRESS_RESIZE | + TREE_CREATE_SUPPRESS_REDRAW); if (err != NSERROR_OK) { return err; } |