aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-02 14:21:04 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-02 14:21:04 +0000
commit523eb41c0cfa724ec2737cecbd0ec2d3ed337718 (patch)
tree44e9038896530d6a71c83688f35eb30599376133 /edit-urpm-sources.pl
parentcd0be8913f2aaae67452ae27a3f989d884e9c510 (diff)
downloadrpmdrake-523eb41c0cfa724ec2737cecbd0ec2d3ed337718.tar
rpmdrake-523eb41c0cfa724ec2737cecbd0ec2d3ed337718.tar.gz
rpmdrake-523eb41c0cfa724ec2737cecbd0ec2d3ed337718.tar.bz2
rpmdrake-523eb41c0cfa724ec2737cecbd0ec2d3ed337718.tar.xz
rpmdrake-523eb41c0cfa724ec2737cecbd0ec2d3ed337718.zip
allow user to cancel on medium changes
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 29bc3184..fec3b165 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -109,7 +109,7 @@ sub add_callback {
$info->{name_entry}->select_region(0, -1);
interactive_msg('rpmdrake',
_("There is already a medium by that name, do you
-really want to replace it?"), 1) or return 0;
+really want to replace it?"), { yesno => 1 } ) or return 0;
}
1;
};
@@ -244,7 +244,7 @@ _("Welcome to the packages source editor!
This tool will help you configure the packages sources you wish to use on
your computer. They will then be available to install new software package
-or to perform updates.")), 1) or myexit -1;
+or to perform updates.")), { yesno => 1 }) or myexit -1;
push @$already_splashed, basename($0);
}