From 6352710317cb8a8a1a8879ca31ba9cb9309c1dd0 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 11 Aug 2004 01:12:06 +0000 Subject: Confirmation dialog for removal of sources (patch by Fabrice Facorat) --- edit-urpm-sources.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'edit-urpm-sources.pl') diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index 7aa45f55..b9243814 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -176,6 +176,12 @@ really want to replace it?"), yesno => 1) or return 0; sub remove_callback { my $row = selrow(); $row == -1 and return; + interactive_msg( + N("Source Removal"), + N("Are you sure you want to remove source \"%s\"?", to_utf8($urpm->{media}[$row]{name})), + yesno => 1, + ) or return; + my $wait = wait_msg(N("Please wait, removing medium...")); my $name = $urpm->{media}[$row]{name}; standalone::explanations("Removing medium $name"); -- cgit v1.2.1