aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-24 14:38:40 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-24 14:38:40 +0000
commitf1c0c197dcc2e3e93cc81287d5254e3bc105c90c (patch)
treecbc52511bc55e8597a2b3e48b6cf3e649d16f72b
parentaf7753ca98bfe93b37c6945fa316660a31bdf3a5 (diff)
downloadrpmdrake-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-xrpmdrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index d187aea2..bae39952 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;