mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-06-30 23:29:33 +00:00
Open all references collapsed except for branches
This commit is contained in:
parent
348d6a283e
commit
79165de42a
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user