From d7716f41ac1c082e8d4758a819512df7fb1c9efd Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 8 Oct 2020 11:21:11 +0200 Subject: [PATCH] libflatpak: Report available updates for password-protected refs too. flatpak_installation_list_installed_refs_for_update() now uses the ready-pre-auth signal instead of the ready signal. This means we will report updates even for refs that require authentication to install. --- common/flatpak-installation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-installation.c b/common/flatpak-installation.c index fc4acb87..b2a1d57d 100644 --- a/common/flatpak-installation.c +++ b/common/flatpak-installation.c @@ -1096,7 +1096,7 @@ flatpak_installation_list_installed_refs_for_update (FlatpakInstallation *self, related_to_ops = g_hash_table_new_full (g_direct_hash, g_direct_equal, g_object_unref, null_safe_g_ptr_array_unref); - g_signal_connect (transaction, "ready", G_CALLBACK (transaction_ready), &related_to_ops); + g_signal_connect (transaction, "ready-pre-auth", G_CALLBACK (transaction_ready), &related_to_ops); flatpak_transaction_run (transaction, cancellable, &local_error); g_assert (local_error != NULL);