mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
List 'All' as top most in history navigation
This commit is contained in:
parent
df267aa4b0
commit
d881e36feb
|
@ -115,6 +115,15 @@ namespace GitgHistory
|
|||
}
|
||||
} catch {}
|
||||
|
||||
if (CommandLine.all)
|
||||
{
|
||||
model.append_default(_("All commits"), null, (nc) => ref_activated(null));
|
||||
}
|
||||
else
|
||||
{
|
||||
model.append(_("All commits"), null, (nc) => ref_activated(null));
|
||||
}
|
||||
|
||||
// Branches
|
||||
model.begin_header(_("Branches"), null);
|
||||
|
||||
|
@ -148,17 +157,6 @@ namespace GitgHistory
|
|||
}
|
||||
}
|
||||
|
||||
model.separator();
|
||||
|
||||
if (CommandLine.all)
|
||||
{
|
||||
model.append_default(_("All"), null, (nc) => ref_activated(null));
|
||||
}
|
||||
else
|
||||
{
|
||||
model.append(_("All"), null, (nc) => ref_activated(null));
|
||||
}
|
||||
|
||||
model.end_header();
|
||||
|
||||
// Remotes
|
||||
|
|
Loading…
Reference in a new issue