aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-19 12:53:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-19 12:53:11 +0000
commit0db87951211506283484ff8512bf1819869d6f29 (patch)
tree4e1aea937997673b67c23b079257bcaca865b4da
parent7ac1a4bab247496aed50cc0d831f77749fd11022 (diff)
downloadrpmdrake-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--NEWS3
-rwxr-xr-xrpmdrake7
2 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4d37cdfa..e4bbd701 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpmdrake:
+ o handle migrating config file from rpmdrake <= 4.9
+
Version 4.9.3 - 17 March 2008, Thierry Vignaud
- rpmdrake:
diff --git a/rpmdrake b/rpmdrake
index 6e0e6d99..bd82e142 100755
--- a/rpmdrake
+++ b/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 = (