summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-20 16:48:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-20 16:48:30 +0000
commita64d595bfe7eaf661ac339e815a1a978b1ee028e (patch)
tree19dcda495b524b682c21a262ec4062e4677c6d86 /perl-install
parenta4122424f3447a9c4776bf6eed039ca2fed788c9 (diff)
downloaddrakx-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar
drakx-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar.gz
drakx-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar.bz2
drakx-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar.xz
drakx-a64d595bfe7eaf661ac339e815a1a978b1ee028e.zip
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.
Diffstat (limited to 'perl-install')
-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 a94d87dfd..0b1f09b05 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -271,6 +271,7 @@ sub row_setting_dialog {
my %s_right = get_right($s);
$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'));