aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-28 15:27:31 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-28 15:27:31 +0000
commit6ca34e7ef4eb788ebd872e114aeab6fcef81deb7 (patch)
treed6d10dc9e8e663169c330d38fabab44127864c48 /rpmdrake.pm
parent9c218d546ab5b5876fecb4e402a9ddfa8bf26cae (diff)
downloadrpmdrake-6ca34e7ef4eb788ebd872e114aeab6fcef81deb7.tar
rpmdrake-6ca34e7ef4eb788ebd872e114aeab6fcef81deb7.tar.gz
rpmdrake-6ca34e7ef4eb788ebd872e114aeab6fcef81deb7.tar.bz2
rpmdrake-6ca34e7ef4eb788ebd872e114aeab6fcef81deb7.tar.xz
rpmdrake-6ca34e7ef4eb788ebd872e114aeab6fcef81deb7.zip
forgot handling "failed" callback mode
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 25dc0fa7..186a99c9 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -363,6 +363,9 @@ sub show_urpm_progress {
} elsif ($mode eq 'done') {
$pb->set_fraction(1.0);
$label->set_label($label->get_label . N(" done."));
+ } elsif ($mode eq 'failed') {
+ $pb->set_fraction(1.0);
+ $label->set_label($label->get_label . N(" failed!"));
}
Gtk2->update_ui;
}