list: Skip origin column if all origins are the same

Closes: #2850
Approved by: matthiasclasen
This commit is contained in:
Alexander Larsson
2019-04-23 13:01:41 +02:00
committed by Atomic Bot
parent 277a443744
commit 5abe002f25

View File

@@ -60,7 +60,7 @@ static Column all_columns[] = {
{ "branch", N_("Branch"), N_("Show the branch"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 0, 1 },
{ "arch", N_("Arch"), N_("Show the architecture"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 0, 1, 1 },
{ "runtime", N_("Runtime"), N_("Show the used runtime"), 1, FLATPAK_ELLIPSIZE_MODE_START, 0, 0 },
{ "origin", N_("Origin"), N_("Show the origin remote"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 1 },
{ "origin", N_("Origin"), N_("Show the origin remote"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 1, 1 },
{ "installation", N_("Installation"), N_("Show the installation"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 0 },
{ "ref", N_("Ref"), N_("Show the ref"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 0 },
{ "active", N_("Active commit"), N_("Show the active commit"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 0 },