summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-20 18:03:06 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-20 18:03:06 +0000
commit6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9 (patch)
treeb1a38eb61110b6689d38ddaa70438b0211614bbc
parent973ed606639a31a4d3f8fe40d210e615154291ae (diff)
downloaddrakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar.gz
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar.bz2
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar.xz
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.zip
fix "current" checkbox vs "group" and "user" pull-down menus
-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 {