aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-16 14:50:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-16 14:50:24 +0000
commitfeac1573d71d1c1eb1a84a79e79137f61f21a747 (patch)
tree0627b8aadafe945d20974cab185eefd45ce0fdaf
parentd46d121b4edcf59fad296e37a463c2691fdd4c73 (diff)
downloadrpmdrake-feac1573d71d1c1eb1a84a79e79137f61f21a747.tar
rpmdrake-feac1573d71d1c1eb1a84a79e79137f61f21a747.tar.gz
rpmdrake-feac1573d71d1c1eb1a84a79e79137f61f21a747.tar.bz2
rpmdrake-feac1573d71d1c1eb1a84a79e79137f61f21a747.tar.xz
rpmdrake-feac1573d71d1c1eb1a84a79e79137f61f21a747.zip
(update_sources) fix return value when canceling
-rw-r--r--NEWS3
-rw-r--r--rpmdrake.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bad53d42..f4fee147 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- gurpmi.addmedia:
+ o fix return value when canceling
+
Version 4.9.13.5 - 30 September 2008, Thierry Vignaud
- workaround crashing when tree selection wasn't realized yet (#41010)
diff --git a/rpmdrake.pm b/rpmdrake.pm
index e575cfd9..aa9eef7c 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -725,6 +725,7 @@ sub update_sources {
Gtk2::Button->new(N("Cancel")),
clicked => sub {
$cancel = 1;
+ $urpm->{error}->(N("Canceled"));
$w and $w->destroy;
},
),