diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-19 12:53:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-19 12:53:11 +0000 |
commit | 0db87951211506283484ff8512bf1819869d6f29 (patch) | |
tree | 4e1aea937997673b67c23b079257bcaca865b4da | |
parent | 7ac1a4bab247496aed50cc0d831f77749fd11022 (diff) | |
download | rpmdrake-0db87951211506283484ff8512bf1819869d6f29.tar rpmdrake-0db87951211506283484ff8512bf1819869d6f29.tar.gz rpmdrake-0db87951211506283484ff8512bf1819869d6f29.tar.bz2 rpmdrake-0db87951211506283484ff8512bf1819869d6f29.tar.xz rpmdrake-0db87951211506283484ff8512bf1819869d6f29.zip |
(run_treeview_dialog) handle migrating config file from rpmdrake <= 4.9
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | rpmdrake | 7 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- rpmdrake: + o handle migrating config file from rpmdrake <= 4.9 + Version 4.9.3 - 17 March 2008, Thierry Vignaud - rpmdrake: @@ -348,6 +348,13 @@ sub run_treeview_dialog { my %rfilters = reverse %filters; + + # handle migrating config file from rpmdrake <= 4.9 + if (member($default_list_mode, keys %filters)) { + $filter->[0] = $default_list_mode; + $default_list_mode = 'all'; + } + $options->{tree_mode} = $default_list_mode; my %modes = ( |