List 'All' as top most in history navigation

This commit is contained in:
Jesse van den Kieboom 2012-10-16 21:23:38 +02:00
parent df267aa4b0
commit d881e36feb

View file

@ -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