aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-26 13:00:34 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-26 13:00:34 +0000
commit0e2880b707fe669eb6d06915148d98dfaf3d5662 (patch)
tree9d8ea12eddf780590f98639ed81b6197209d683e /Rpmdrake/gui.pm
parent9e5059cba649685f7a04816454fea7d287b15d5a (diff)
downloadrpmdrake-0e2880b707fe669eb6d06915148d98dfaf3d5662.tar
rpmdrake-0e2880b707fe669eb6d06915148d98dfaf3d5662.tar.gz
rpmdrake-0e2880b707fe669eb6d06915148d98dfaf3d5662.tar.bz2
rpmdrake-0e2880b707fe669eb6d06915148d98dfaf3d5662.tar.xz
rpmdrake-0e2880b707fe669eb6d06915148d98dfaf3d5662.zip
(pkgs_provider) don't preselect anymore the updates when not started as
MandrivaUpdate (#27500)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 03037714..ceb0c757 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -44,7 +44,7 @@ our @EXPORT = qw(ask_browse_tree_given_widgets_for_rpmdrake build_tree callback_
our $dont_show_selections = $> ? 1 : 0;
-our ($descriptions, %filter_methods, $force_displaying_group, $force_rebuild, @initial_selection, $initial_selection_done, $pkgs, $size_free, $size_selected, $urpm);
+our ($descriptions, %filter_methods, $force_displaying_group, $force_rebuild, @initial_selection, $pkgs, $size_free, $size_selected, $urpm);
sub format_pkg_simplifiedinfo {
@@ -413,11 +413,6 @@ sub pkgs_provider {
};
},
);
- if (!$initial_selection_done) {
- $filter_methods{all}->();
- @initial_selection = grep { $pkgs->{$_}{selected} } keys %$pkgs;
- $initial_selection_done = 1;
- }
foreach my $importance (qw(bugfix security normal)) {
$filter_methods{$importance} = sub {
$pkgs = $h->{updates};