diff options
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-x | perl-install/standalone/drakperm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index aecf7e0c8..234228edb 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -140,7 +140,11 @@ $w->{rwindow}->set_position('center') unless $::isEmbedded; $combo_perm->entry->set_text($perm_l10n{all}); display_perm('all'); -my $_combo_sig = $combo_perm->entry->signal_connect(changed => sub { display_perm($rev_perm_l10n{$combo_perm->entry->get_text} , @_) }); +my $_combo_sig = $combo_perm->entry->signal_connect(changed => sub { + my $class = $rev_perm_l10n{$combo_perm->entry->get_text}; + $permList->set_reorderable($class eq 'editable'); + display_perm($class , @_); + }); $permList->get_selection->signal_connect('changed' => sub { my ($select) = @_; |