summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/drakperm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 54bd65f5e..2798242d4 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -288,13 +288,12 @@ sub row_setting_dialog {
my $usr_check = gtksignal_connect(gtkset_tip($tips, Gtk2::CheckButton->new(N("Current user")),
N("When checked, owner and group won't be changed")),
- clicked => sub { $id_box->set_sensitive($_[0]->get_active) });
+ clicked => sub { $id_box->set_sensitive(!$_[0]->get_active) });
if ($iter && $model->get($iter, 2) eq 'current') {
$usr_check->set_active(1);
- $groups->set_sensitive(0);
- $users->set_sensitive(0);
- }
+ $id_box->set_sensitive(0)
+ } else { $usr_check->set_active(0) }
$browse->signal_connect(clicked => sub {