From 547ffffdd038af955ca09588b06eb1e95f4d0879 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Tue, 5 Jul 2005 06:37:22 +0000 Subject: various fix ("standalone/draknfs", line 140, character 38-48) thx tv --- perl-install/standalone/draknfs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/perl-install/standalone/draknfs b/perl-install/standalone/draknfs index fa4bc95c4..c1a6b70a5 100644 --- a/perl-install/standalone/draknfs +++ b/perl-install/standalone/draknfs @@ -137,7 +137,7 @@ sub help_b { $dialog->set_title("Help"); $dialog->set_modal(1); gtkpack_($dialog->vbox, - 0, gtkadd(Gtk2::Frame->new(N($tittle)), + 0, gtkadd(Gtk2::Frame->new(N("%s",$tittle)), gtkpack_(gtkset_border_width(Gtk2::VBox->new, 5), 0, $help_data, ), @@ -159,7 +159,7 @@ sub add_modify_entry { undef $iter; map { $_ = Gtk2::Entry->new } $dir, $access, $anongid, $anonuid, $options; - map { $_ = Gtk2::OptionMenu->new() } $lr, $luserid, $lsecure, $lsync; + map { $_ = Gtk2::OptionMenu->new } $lr, $luserid, $lsecure, $lsync; my $luserid = new Gtk2::OptionMenu(); $luserid->set_popdown_strings(@listuserid); @@ -240,11 +240,11 @@ sub add_modify_entry { cancel_clicked => sub { $dialog->destroy }, ok_clicked => sub { my ($anonu, $anong); - $anonuid->get_text() and $anonu = "anonuid=" . $anonuid->get_text(); - $anongid->get_text() and $anong = "anongid=" . $anongid->get_text(); - map { $_ and $all_right = $_ . "," . $all_right; } $luserid->get_text(), $anonu, $anong, $lsync->get_text(), $lsecure->get_text(), $lr->get_text(); + $anonuid->get_text and $anonu = "anonuid=" . $anonuid->get_text; + $anongid->get_text and $anong = "anongid=" . $anongid->get_text; + map { $_ and $all_right = $_ . "," . $all_right } $luserid->get_text, $anonu, $anong, $lsync->get_text, $lsecure->get_text, $lr->get_text; if ($wanted =~ /add/) { - -d $dir->get_text() or err_dialog(N("Error!"), N("Please enter a directory to share.")) and return; + -d $dir->get_text or err_dialog(N("Error!"), N("Please enter a directory to share.")) and return; $iter = $model->append; $i = "-1"; push @listshare, { -- cgit v1.2.1