diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-24 14:38:40 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-24 14:38:40 +0000 |
commit | f1c0c197dcc2e3e93cc81287d5254e3bc105c90c (patch) | |
tree | cbc52511bc55e8597a2b3e48b6cf3e649d16f72b | |
parent | af7753ca98bfe93b37c6945fa316660a31bdf3a5 (diff) | |
download | rpmdrake-f1c0c197dcc2e3e93cc81287d5254e3bc105c90c.tar rpmdrake-f1c0c197dcc2e3e93cc81287d5254e3bc105c90c.tar.gz rpmdrake-f1c0c197dcc2e3e93cc81287d5254e3bc105c90c.tar.bz2 rpmdrake-f1c0c197dcc2e3e93cc81287d5254e3bc105c90c.tar.xz rpmdrake-f1c0c197dcc2e3e93cc81287d5254e3bc105c90c.zip |
Fix bug 12428 : rpmdrake wasn't saving properly the advanced tree sort
mode displayed in the combo box
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -842,6 +842,7 @@ or you already installed all of them.")); my $radio_by; $options->{tree_submode} ||= $advanced_modes[0][0]; + $options->{tree_subflat} ||= $advanced_modes[0][2]; each_index { if ($_ eq 'by') { $radio_by = $modes_buttons[$::i]; @@ -862,6 +863,8 @@ or you already installed all of them.")); $t->get_model->set($iter, 0, $m->[1]); } $t->set_active($active); + $options->{tree_submode} = $advanced_modes[$active][0]; + $options->{tree_subflat} = $advanced_modes[$active][2]; $t->signal_connect( changed => sub { my $act = $t->get_active; |