aboutsummaryrefslogtreecommitdiffstats
path: root/park-rpmdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-13 15:14:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-13 15:14:54 +0000
commita4e5cfa3980a3756d873a5c44a341f77abdd0fd7 (patch)
tree2dfebb4b8f33676d4d361a3fce928533a4ed0390 /park-rpmdrake
parent41f720680083dc2f84772d074aadf8e944441258 (diff)
downloadrpmdrake-a4e5cfa3980a3756d873a5c44a341f77abdd0fd7.tar
rpmdrake-a4e5cfa3980a3756d873a5c44a341f77abdd0fd7.tar.gz
rpmdrake-a4e5cfa3980a3756d873a5c44a341f77abdd0fd7.tar.bz2
rpmdrake-a4e5cfa3980a3756d873a5c44a341f77abdd0fd7.tar.xz
rpmdrake-a4e5cfa3980a3756d873a5c44a341f77abdd0fd7.zip
->ask_from_entry now correctly handles focus_first, so no need to do it here
Diffstat (limited to 'park-rpmdrake')
-rwxr-xr-xpark-rpmdrake5
1 files changed, 1 insertions, 4 deletions
diff --git a/park-rpmdrake b/park-rpmdrake
index c00ee8fd..8f851353 100755
--- a/park-rpmdrake
+++ b/park-rpmdrake
@@ -433,10 +433,7 @@ sub group_modify {
}
$widgets{network}->signal_connect(clicked => sub {
- my $s;
- $in->ask_from_({ messages => N("Enter a network (eg: 192.168.1.0/28) or a IP"),
- focus_first => 1 },
- [ { val => \$s } ]) or return;
+ my $s = $in->ask_from_entry('', N("Enter a network (eg: 192.168.1.0/28) or a IP")) or return;
my $network = string_to_network($s);
if (0) {
$in->ask_yesorno('', N("The network %s is public, not a local network (scanning over internet could be illegal)