aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 2d0cbbcf..b80a063c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -338,7 +338,7 @@ sub run_treeview_dialog {
$options->{state}{splited} = 1;
#$options->{state}{flat} = 1;
- my $default_radio = $options->{tree_mode} = $default_list_mode;
+ $options->{tree_mode} = $default_list_mode;
my $is_backports = get_inactive_backport_media(fast_open_urpmi_db());
@@ -390,7 +390,7 @@ sub run_treeview_dialog {
qw(all meta_pkgs gui_pkgs all_updates security bugfix normal),
if_($is_backports, 'backports')
],
- format => sub { $views{$_[0]} }, text => $views{$default_radio},
+ format => sub { $views{$_[0]} }, text => $views{$default_list_mode},
tip => N("View"),
changed => sub {
my $val = $_[0]->get_text;
@@ -418,7 +418,7 @@ sub run_treeview_dialog {
}
);
- $options->{tree_submode} ||= $default_radio;
+ $options->{tree_submode} ||= $default_list_mode;
$options->{tree_subflat} ||= $options->{state}{flat};