aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-16 14:46:40 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-16 14:46:40 +0000
commit6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e (patch)
tree7694356578b6fb07cfa80a7e00c7f6ae93e1ac12 /rpmdrake.pm
parent84c0c19253d9a155c3935cb5a7bef0898cd423e2 (diff)
downloadrpmdrake-6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e.tar
rpmdrake-6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e.tar.gz
rpmdrake-6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e.tar.bz2
rpmdrake-6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e.tar.xz
rpmdrake-6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e.zip
(update_sources) fix return value when canceling
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 7b2897dd..b0afb456 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -739,6 +739,7 @@ sub update_sources {
Gtk2::Button->new(N("Cancel")),
clicked => sub {
$cancel = 1;
+ $urpm->{error}->(N("Canceled"));
$w and $w->destroy;
},
),