diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 15:45:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 15:45:16 +0000 |
commit | ab9bb9168f39bfa06f1441eedddac3eed305d501 (patch) | |
tree | c44918433fe113712509e6691eac4cbf95a464be | |
parent | d06749139b6af5791c56616d3c063ec4eee94753 (diff) | |
download | rpmdrake-ab9bb9168f39bfa06f1441eedddac3eed305d501.tar rpmdrake-ab9bb9168f39bfa06f1441eedddac3eed305d501.tar.gz rpmdrake-ab9bb9168f39bfa06f1441eedddac3eed305d501.tar.bz2 rpmdrake-ab9bb9168f39bfa06f1441eedddac3eed305d501.tar.xz rpmdrake-ab9bb9168f39bfa06f1441eedddac3eed305d501.zip |
kill unused $default_radio variable
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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}; |