diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-11 01:12:06 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-11 01:12:06 +0000 |
commit | 6352710317cb8a8a1a8879ca31ba9cb9309c1dd0 (patch) | |
tree | 09621d18f23e35b1dbf18774ef7d826e4451774c /edit-urpm-sources.pl | |
parent | f370f217aaa7876ec45375d8f11e25ce096d0288 (diff) | |
download | rpmdrake-6352710317cb8a8a1a8879ca31ba9cb9309c1dd0.tar rpmdrake-6352710317cb8a8a1a8879ca31ba9cb9309c1dd0.tar.gz rpmdrake-6352710317cb8a8a1a8879ca31ba9cb9309c1dd0.tar.bz2 rpmdrake-6352710317cb8a8a1a8879ca31ba9cb9309c1dd0.tar.xz rpmdrake-6352710317cb8a8a1a8879ca31ba9cb9309c1dd0.zip |
Confirmation dialog for removal of sources (patch by Fabrice Facorat)
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-x | edit-urpm-sources.pl | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |