summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-14 08:31:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-14 08:31:29 +0000
commite94bf66c9ee56310f3269fb01b30d80b7cc56551 (patch)
tree13bb1ff2e67691bd82612d1d4ff3e23d76eb1515 /perl-install/standalone/drakperm
parenta89308a82a709a44bdcf79ac68c36d3f8155d1d8 (diff)
downloaddrakx-backup-do-not-use-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar
drakx-backup-do-not-use-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar.gz
drakx-backup-do-not-use-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar.bz2
drakx-backup-do-not-use-e94bf66c9ee56310f3269fb01b30d80b7cc56551.tar.xz
drakx-backup-do-not-use-e94bf66c9ee56310f3269fb01b30d80b7cc56551.zip
enable drag on drop when looking only at customized settings
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm6
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) = @_;