aboutsummaryrefslogtreecommitdiffstats
path: root/userdrake2
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-05-23 15:01:58 +0000
committerDaouda Lo <daouda@mandriva.com>2003-05-23 15:01:58 +0000
commitcfa2107959be411d29e4a466462af6c6ebfe5da8 (patch)
tree54b456d686c76832b2fec467d77186f36a13eef5 /userdrake2
parentb04aa02d9d1c16a35a6907162a64053d97f8bed1 (diff)
downloaduserdrake-cfa2107959be411d29e4a466462af6c6ebfe5da8.tar
userdrake-cfa2107959be411d29e4a466462af6c6ebfe5da8.tar.gz
userdrake-cfa2107959be411d29e4a466462af6c6ebfe5da8.tar.bz2
userdrake-cfa2107959be411d29e4a466462af6c6ebfe5da8.tar.xz
userdrake-cfa2107959be411d29e4a466462af6c6ebfe5da8.zip
- s/get_user_shells/GetUserShells/
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
}