aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 13:48:58 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 13:48:58 +0000
commitb7e1961ffe2bc6f8483b06cadee85dae563caaf9 (patch)
tree1def10b3362bf971027c31e5e9fcd9771b86f20b
parenta667572dca4068211fce5d34f2cd30f2e932bedf (diff)
downloadrpmdrake-b7e1961ffe2bc6f8483b06cadee85dae563caaf9.tar
rpmdrake-b7e1961ffe2bc6f8483b06cadee85dae563caaf9.tar.gz
rpmdrake-b7e1961ffe2bc6f8483b06cadee85dae563caaf9.tar.bz2
rpmdrake-b7e1961ffe2bc6f8483b06cadee85dae563caaf9.tar.xz
rpmdrake-b7e1961ffe2bc6f8483b06cadee85dae563caaf9.zip
(run_treeview_dialog) optimize --pkg-sel case
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index fd5315eb..e334351c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1121,7 +1121,7 @@ or you already installed all of them."));
if (my @initial_selection = grep { $pkgs->{$_}{selected} } keys %$pkgs) {
$options->{initial_selection} = \@initial_selection;
- $pkgs->{$_}{selected} = 0 foreach keys %$pkgs;
+ $pkgs->{$_}{selected} = 0 foreach @initial_selection;
}
$tree_model = Gtk2::TreeStore->new("Glib::String", "Glib::String", "Gtk2::Gdk::Pixbuf");