Commit 68d021e0 authored by Jens Georg's avatar Jens Georg
Browse files

Hide "Folder" sidebar when empty

Signed-off-by: Jens Georg's avatarJens Georg <>
parent 1f07d737
......@@ -10,7 +10,10 @@ public class Folders.Branch : Sidebar.Branch {
private File home_dir;
public class Branch() {
base (new Folders.Root(), Sidebar.Branch.Options.STARTUP_OPEN_GROUPING, comparator);
base (new Folders.Root(),
| Sidebar.Branch.Options.HIDE_IF_EMPTY,
home_dir = File.new_for_path(Environment.get_home_dir());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment