aboutsummaryrefslogtreecommitdiffstats
path: root/userdrake2
diff options
context:
space:
mode:
Diffstat (limited to 'userdrake2')
-rwxr-xr-xuserdrake26
1 files changed, 3 insertions, 3 deletions
diff --git a/userdrake2 b/userdrake2
index cd66e3b..fb7b7d1 100755
--- a/userdrake2
+++ b/userdrake2
@@ -132,12 +132,12 @@ sub Refresh_Users_Full {
}
sub Refresh_Groups_Full {
- my $filterusers = shift;
+ my $filtergroups = shift;
my $groups;
$groups = $ctx->GroupsEnumerateFull();
$gtree_model->clear();
my @GroupReal;
- LOOP:foreach my $g (@$groups) { next LOOP if ($filterusers && $g->Gid <= 499 || $g->Gid == 65534); push(@GroupReal, $g) };
+ LOOP:foreach my $g (@$groups) { next LOOP if ($filtergroups && $g->Gid <= 499 || $g->Gid == 65534); push(@GroupReal, $g) };
foreach my $g (@GroupReal) {
my $a = $g->Gid; my $group = $ctx->LookupGroupById($a);
$gtree_model->append_set([ 0 => $g->GroupName, 1 => $g->Gid, 2 => $g->Gid, 3 => $g]);
@@ -244,7 +244,7 @@ sub BuildUui {
[ N("Login Shell") . " :", $us->{o}->{shells} = Gtk2::Combo->new ]
)
);
- $us->{o}->{shells}->set_popdown_strings(@{$ctx->get_user_shells()});
+ $us->{o}->{shells}->set_popdown_strings(@{$ctx->GetUserShells()});
$us->{o}->{shells}->entry->set_text("/bin/bash");
$vbox
}