diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-20 16:48:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-20 16:48:30 +0000 |
commit | a64d595bfe7eaf661ac339e815a1a978b1ee028e (patch) | |
tree | 19dcda495b524b682c21a262ec4062e4677c6d86 /perl-install/standalone/drakperm | |
parent | a4122424f3447a9c4776bf6eed039ca2fed788c9 (diff) | |
download | drakx-backup-do-not-use-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar drakx-backup-do-not-use-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar.gz drakx-backup-do-not-use-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar.bz2 drakx-backup-do-not-use-a64d595bfe7eaf661ac339e815a1a978b1ee028e.tar.xz drakx-backup-do-not-use-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/standalone/drakperm')
-rwxr-xr-x | perl-install/standalone/drakperm | 1 |
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')); |