From 521651ea5194ec1aac65d95c8e0bd33000b6bad9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 9 Sep 2017 18:24:18 +0100 Subject: [PATCH] Treeview: API: Add searchable flag for treeview creation. --- desktop/treeview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/treeview.h b/desktop/treeview.h index 45469b77f..b9347d2f0 100644 --- a/desktop/treeview.h +++ b/desktop/treeview.h @@ -76,7 +76,8 @@ typedef enum { TREEVIEW_NO_MOVES = (1 << 0), /**< No node drags */ TREEVIEW_NO_DELETES = (1 << 1), /**< No node deletes */ TREEVIEW_READ_ONLY = TREEVIEW_NO_MOVES | TREEVIEW_NO_DELETES, - TREEVIEW_DEL_EMPTY_DIRS = (1 << 2) /**< Delete dirs on empty */ + TREEVIEW_DEL_EMPTY_DIRS = (1 << 2), /**< Delete dirs on empty */ + TREEVIEW_SEARCHABLE = (1 << 3), /**< Treeview has search bar */ } treeview_flags; /**