From 6ac77a9910d8ae9bcb02bc4a0e8a9e0db994d88e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 16 Oct 2008 14:46:40 +0000 Subject: (update_sources) fix return value when canceling --- rpmdrake.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'rpmdrake.pm') 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; }, ), -- cgit v1.2.1