diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-12-01 11:09:43 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-12-01 11:09:43 +0000 |
commit | 2baf7db592b2e1f33e9d24fa1da633b3a66e4c9c (patch) | |
tree | e521d06ca276a644ce6435b78a102d8d4a353648 | |
parent | cee0b7e176a20e0ba8b2c97b27f3a78c6a752b54 (diff) | |
download | rpmdrake-2baf7db592b2e1f33e9d24fa1da633b3a66e4c9c.tar rpmdrake-2baf7db592b2e1f33e9d24fa1da633b3a66e4c9c.tar.gz rpmdrake-2baf7db592b2e1f33e9d24fa1da633b3a66e4c9c.tar.bz2 rpmdrake-2baf7db592b2e1f33e9d24fa1da633b3a66e4c9c.tar.xz rpmdrake-2baf7db592b2e1f33e9d24fa1da633b3a66e4c9c.zip |
Close the download progress window when the download is cancelled
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index a4987be6..c3f1bf29 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -561,7 +561,7 @@ sub update_sources { Gtk2::Button->new(N("Cancel")), clicked => sub { $cancel = 1; - $label->set_label(N("Media update cancelled...")); + $w->destroy; }, ), ), @@ -589,8 +589,8 @@ later.", } }, ); - cancel_update: $w->destroy; + cancel_update: } sub update_sources_check { |