diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-13 18:56:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-13 18:56:05 +0000 |
commit | b055b48b8c6f484cb49f705f27a2e51b641b16bc (patch) | |
tree | 9c16e4576c592b893d54941cba9f12b01213ea4f | |
parent | cf9d480e25a0901956bf1385a31ec4d249bf503c (diff) | |
download | drakx-b055b48b8c6f484cb49f705f27a2e51b641b16bc.tar drakx-b055b48b8c6f484cb49f705f27a2e51b641b16bc.tar.gz drakx-b055b48b8c6f484cb49f705f27a2e51b641b16bc.tar.bz2 drakx-b055b48b8c6f484cb49f705f27a2e51b641b16bc.tar.xz drakx-b055b48b8c6f484cb49f705f27a2e51b641b16bc.zip |
better use get instead of _get
-rwxr-xr-x | perl-install/standalone/drakperm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index fdf237e80..552e63ede 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -242,7 +242,7 @@ sub row_setting_dialog { my $sticky = new Gtk2::CheckButton(N("sticky-bit")); my $suid = new Gtk2::CheckButton(N("Set-UID")); my $gid = new Gtk2::CheckButton(N("Set-GID")); - my $rght = $treeModel->_get($iter, 3) if $iter; + my $rght = $treeModel->get($iter, 3) if $iter; my $s = length($rght) == 4 ? substr($rght,0,1) : 0; my $user = $s ? substr($rght,1,1) : substr($rght,0,1); my $group = $s ? substr($rght,2,1) : substr($rght,1,1); @@ -279,17 +279,17 @@ sub row_setting_dialog { $s_right{write} and $gid->set_active(1); $s_right{read} and $suid->set_active(1); - $file->set_text($treeModel->_get($iter, 0)) if $iter; + $file->set_text($treeModel->get($iter, 0)) if $iter; $users->set_popdown_strings(&get_user_or_group('users')); - $users->entry->set_text($treeModel->_get($iter, 1)) if $iter; + $users->entry->set_text($treeModel->get($iter, 1)) if $iter; $users->entry->set_editable(0); $groups->set_popdown_strings(&get_user_or_group); - $groups->entry->set_text($treeModel->_get($iter, 2)) if $iter; + $groups->entry->set_text($treeModel->get($iter, 2)) if $iter; $groups->entry->set_editable(0); - if ($iter && $treeModel->_get($iter, 1) eq 'current') { + if ($iter && $treeModel->get($iter, 1) eq 'current') { $usr_check->set_active(1); $groups->set_sensitive(0); $users->set_sensitive(0); |