summaryrefslogtreecommitdiffstats
path: root/gurpm/RPMProgressDialog.pm
diff options
context:
space:
mode:
Diffstat (limited to 'gurpm/RPMProgressDialog.pm')
-rw-r--r--gurpm/RPMProgressDialog.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gurpm/RPMProgressDialog.pm b/gurpm/RPMProgressDialog.pm
index e7625e93..d9fd8cc7 100644
--- a/gurpm/RPMProgressDialog.pm
+++ b/gurpm/RPMProgressDialog.pm
@@ -24,6 +24,7 @@ How to use:
$w->init_progressbar;
urpm::main_loop::run($urpm, $state, $nb, \@ask_unselect, {
trans_log => \&gurpm::RPMProgressDialog::callback_download,
+ pre_check_sig => \&gurpm::RPMProgressDialog::pre_check_sig,
inst => \&gurpm::RPMProgressDialog::callback_inst,
trans => \&gurpm::RPMProgressDialog::callback_inst,
uninst => \&gurpm::RPMProgressDialog::callback_inst,
@@ -274,6 +275,19 @@ sub canceled {
=over 4
+=item callback_pre_check_sig()
+
+This callback is called when checking packages before installing them.
+
+Its purpose is to display installation progress in the dialog.
+
+=cut
+
+sub callback_pre_check_sig {
+ $mainw->set_progresslabel(N("Verifying package signatures..."));
+ $mainw->sync;
+}
+
=item callback_inst($urpm, $type, $id, $subtype, $amount, $total)
This callback is called when a new RPM DB transaction is created and