diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | gurpm/RPMProgressDialog.pm | 14 |
2 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- library: + o enable to report packages signature checking in global progress bar dialog - gurpmi2: o improved layout: * only the package list needs a scrolling bar 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 |