summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-27 16:39:10 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-27 16:39:10 +0000
commitfc0069be75ea75b288c0112962f81545e53078f5 (patch)
treec3d6cbd7073fc8c7dfa970166eae0b1492f256e8
parent0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e (diff)
downloaddrakx-backup-do-not-use-fc0069be75ea75b288c0112962f81545e53078f5.tar
drakx-backup-do-not-use-fc0069be75ea75b288c0112962f81545e53078f5.tar.gz
drakx-backup-do-not-use-fc0069be75ea75b288c0112962f81545e53078f5.tar.bz2
drakx-backup-do-not-use-fc0069be75ea75b288c0112962f81545e53078f5.tar.xz
drakx-backup-do-not-use-fc0069be75ea75b288c0112962f81545e53078f5.zip
forward: drakperm incorrectly enable one to click "ok" after having
altered a system rule whereas system rules are not saved since they're enforced by msec. this may confuse the end user ("why my changes weren't applied?") so let disable the "ok" button if the current entry is uneditable.
-rwxr-xr-xperl-install/standalone/drakperm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index bfecbf98d..559462c99 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -283,6 +283,7 @@ sub row_setting_dialog {
$suid->set_active($s_right{read});
$file->set_text($model->get($iter, 1)) if $iter;
+ $ok->set_sensitive(!$model->get($iter, 0)) if $iter;
my $users = Gtk2::OptionMenu->new;
$users->set_popdown_strings(&get_user_or_group('users'));