Open all references collapsed except for branches

This commit is contained in:
Alberto Fanjul 2023-12-19 00:49:10 +01:00
parent 348d6a283e
commit 79165de42a

View File

@ -894,14 +894,7 @@ public class RefsList : Gtk.ListBox
header.show();
header.notify["expanded"].connect(expanded_changed);
if (header.ref_type == Gitg.RefType.TAG)
{
header.expanded = false;
}
else
{
header.expanded = true;
}
header.expanded = header.ref_type == Gitg.RefType.BRANCH;
foreach (var state in d_expanded)
{