diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-10 12:59:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-10 12:59:36 +0000 |
commit | cd0ab4da77f036254d58247e64cb0ad43f5d78ba (patch) | |
tree | 9ef7438fae5652d064a1ef7c285f97d256926896 | |
parent | 66527985fbd1b3a0ada865b7f885131f00c455f7 (diff) | |
download | userdrake-cd0ab4da77f036254d58247e64cb0ad43f5d78ba.tar userdrake-cd0ab4da77f036254d58247e64cb0ad43f5d78ba.tar.gz userdrake-cd0ab4da77f036254d58247e64cb0ad43f5d78ba.tar.bz2 userdrake-cd0ab4da77f036254d58247e64cb0ad43f5d78ba.tar.xz userdrake-cd0ab4da77f036254d58247e64cb0ad43f5d78ba.zip |
fix tree filling
-rwxr-xr-x | userdrake | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -716,8 +716,8 @@ sub Edit { if (InArray($name, $members)) { $uEnt = $ctx->LookupUserByName($name); if ($uEnt->Gid($GetValue) == $groupEnt->Gid($GetValue)) { - $model->set($iter, [0 => gtkcreate_pixbuf($pix[0])]); - $model->set($iter, [2 => 1]); + $model->set($iter, 0 => gtkcreate_pixbuf($pix[0])); + $model->set($iter, 2 => 1); RaiseError(N("You cannot remove user '%s' from their primary group", $name)); } if (!$error) { @@ -767,8 +767,8 @@ sub Edit { return unless $iter; my $cp = $model->get($iter, 2); my $item = $model->get($iter, 1); - $model->set($iter, [0 => gtkcreate_pixbuf($pix[$cp])]); - $model->set($iter, [2 => !$cp]); + $model->set($iter, 0 => gtkcreate_pixbuf($pix[$cp])); + $model->set($iter, 2 => !$cp); if ($p <= 0) { if (!$cp) { !InArray($item, \@primgroup) and push(@primgroup, $item) |