diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-07-05 06:37:22 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-07-05 06:37:22 +0000 |
commit | 547ffffdd038af955ca09588b06eb1e95f4d0879 (patch) | |
tree | e11587f900d9b49627e585be01b625df62836223 /perl-install/standalone/draknfs | |
parent | b77aac4e55531805a3441dff889a68265a977404 (diff) | |
download | drakx-backup-do-not-use-547ffffdd038af955ca09588b06eb1e95f4d0879.tar drakx-backup-do-not-use-547ffffdd038af955ca09588b06eb1e95f4d0879.tar.gz drakx-backup-do-not-use-547ffffdd038af955ca09588b06eb1e95f4d0879.tar.bz2 drakx-backup-do-not-use-547ffffdd038af955ca09588b06eb1e95f4d0879.tar.xz drakx-backup-do-not-use-547ffffdd038af955ca09588b06eb1e95f4d0879.zip |
various fix ("standalone/draknfs", line 140, character 38-48) thx tv
Diffstat (limited to 'perl-install/standalone/draknfs')
-rw-r--r-- | perl-install/standalone/draknfs | 12 |
1 files 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, { |