diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-08-18 10:17:00 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-18 10:17:00 +0200 |
commit | 5c7bb09a73d43779abf4c44156d03f310de99eb6 (patch) | |
tree | 6b930f199ce4ca4e1151893ae9b79ab123c27d25 /Kernel | |
parent | f6cb2fd2fbe62f0a80122c2dc97b8b1463a44d19 (diff) | |
download | serenity-5c7bb09a73d43779abf4c44156d03f310de99eb6.zip |
GTreeView: Support multiple root-level items
Previously it was only possible to have a single root-level item in a
GTreeView. This was an oversight and I didn't realize it because this
code was only ever used in the FileManager, which has one root ("/").
Also factored out item toggling into a separate function, and increase
the base indentation level so that root items can be toggled as well.
Finally, let the user toggle the selected item with the spacebar. :^)
Diffstat (limited to 'Kernel')
0 files changed, 0 insertions, 0 deletions