mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-18 13:52:53 -04:00
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.
This commit is contained in:
committed by
Alexander Larsson
parent
bf8ac3cc1c
commit
d7716f41ac
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user