summaryrefslogtreecommitdiffstats
path: root/gurpm/RPMProgressDialog.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-24 12:52:47 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-24 12:52:47 +0000
commit43f2423d3577944f7244c091593e0a805933c13c (patch)
tree7522c6073de3e029e7784a03fa2090e2507dc79c /gurpm/RPMProgressDialog.pm
parent9a60f5eeb8b8b152420060dc181cbd585df4d031 (diff)
downloadurpmi-43f2423d3577944f7244c091593e0a805933c13c.tar
urpmi-43f2423d3577944f7244c091593e0a805933c13c.tar.gz
urpmi-43f2423d3577944f7244c091593e0a805933c13c.tar.bz2
urpmi-43f2423d3577944f7244c091593e0a805933c13c.tar.xz
urpmi-43f2423d3577944f7244c091593e0a805933c13c.zip
enable to report packages signature checking in global progress bar dialog
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