mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-07 07:25:45 -04:00
install: Always show the op column
Otherwise, it is not clear what changes the question below the table refers to. Fixes: https://github.com/flatpak/flatpak/issues/3075
This commit is contained in:
committed by
Alexander Larsson
parent
c917257a1c
commit
bb5b2de3f1
@@ -889,12 +889,9 @@ transaction_ready (FlatpakTransaction *transaction)
|
||||
flatpak_table_printer_set_column_expand (printer, i, TRUE);
|
||||
flatpak_table_printer_set_column_title (printer, i++, _("Branch"));
|
||||
|
||||
if (self->installing + self->updating + self->uninstalling > 1)
|
||||
{
|
||||
flatpak_table_printer_set_column_expand (printer, i, TRUE);
|
||||
/* translators: This is short for operation, the title of a one-char column */
|
||||
flatpak_table_printer_set_column_title (printer, i++, _("Op"));
|
||||
}
|
||||
flatpak_table_printer_set_column_expand (printer, i, TRUE);
|
||||
/* translators: This is short for operation, the title of a one-char column */
|
||||
flatpak_table_printer_set_column_title (printer, i++, _("Op"));
|
||||
|
||||
if (self->installing || self->updating)
|
||||
{
|
||||
@@ -931,9 +928,7 @@ transaction_ready (FlatpakTransaction *transaction)
|
||||
flatpak_table_printer_add_column (printer, parts[1]);
|
||||
flatpak_table_printer_add_column (printer, parts[2]);
|
||||
flatpak_table_printer_add_column (printer, parts[3]);
|
||||
|
||||
if (self->installing + self->updating + self->uninstalling > 1)
|
||||
flatpak_table_printer_add_column (printer, op_shorthand[type]);
|
||||
flatpak_table_printer_add_column (printer, op_shorthand[type]);
|
||||
|
||||
if (type == FLATPAK_TRANSACTION_OPERATION_INSTALL ||
|
||||
type == FLATPAK_TRANSACTION_OPERATION_INSTALL_BUNDLE ||
|
||||
|
||||
Reference in New Issue
Block a user