diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-14 08:31:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-14 08:31:29 +0000 |
commit | e94bf66c9ee56310f3269fb01b30d80b7cc56551 (patch) | |
tree | 13bb1ff2e67691bd82612d1d4ff3e23d76eb1515 /perl-install/standalone/drakperm | |
parent | a89308a82a709a44bdcf79ac68c36d3f8155d1d8 (diff) | |
download | drakx-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar drakx-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar.gz drakx-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar.bz2 drakx-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar.xz drakx-e94bf66c9ee56310f3269fb01b30d80b7cc56551.zip |
enable drag on drop when looking only at customized settings
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) = @_; |