aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-19 10:57:23 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-19 10:57:23 +0000
commit34816a37fee68d1cd74b7bc9b5293628ab89c351 (patch)
tree6271e2937b808ea20f2436fea2b3f1668f5ec3c3
parente6153a16f0662d5308661bd6937d25120b364405 (diff)
downloadrpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar
rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar.gz
rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar.bz2
rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar.xz
rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.zip
keep internal state untranslated (#25774)
-rwxr-xr-xrpmdrake8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmdrake b/rpmdrake
index 66e9996f..f2ae2734 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1160,7 +1160,7 @@ or you already installed all of them."));
if ($options->{tree_mode} ne $val) {
($options->{tree_mode}) = $val =~ /^by/ ?
- $options->{tree_submode} : $val;
+ $options->{tree_submode} : $rmodes{$val};
$tree_mode->[0] = $options->{tree_mode};
$tree_flat->[0] = $options->{state}{flat};
$reset_search->();
@@ -1232,7 +1232,7 @@ Do you really want to install all the selected packages?"), yesno => 1)
}
if (!$callback_action->($urpm, $pkgs)) {
$force_rebuild = 1;
- $pkgs_provider->({ skip_updating_mu => 1 }, $rmodes{$options->{tree_mode}});
+ $pkgs_provider->({ skip_updating_mu => 1 }, $options->{tree_mode});
$reset_search->();
$size_selected = 0;
(undef, $size_free) = MDK::Common::System::df('/usr');
@@ -1258,7 +1258,7 @@ Do you really want to install all the selected packages?"), yesno => 1)
[ N("/_File") . N("/_Update media"), undef, sub {
update_sources_interactive($urpm, transient => $w->{real_window})
and do {
- $pkgs_provider->({ skip_updating_mu => 1 }, $rmodes{$options->{tree_mode}});
+ $pkgs_provider->({ skip_updating_mu => 1 }, $options->{tree_mode});
$reset_search->();
$size_selected = 0;
$options->{rebuild_tree}->();
@@ -1278,7 +1278,7 @@ Do you really want to install all the selected packages?"), yesno => 1)
$options->{rebuild_tree}->();
}, undef, '<Item>' ],
[ N("/_File") . N("/Reload the _packages list"), undef, sub {
- slow_func($::main_window->window, sub { $rmodes{$pkgs_provider->({ skip_updating_mu => 1 }, $rmodes{$options->{tree_mode}})} });
+ slow_func($::main_window->window, sub { $rmodes{$pkgs_provider->({ skip_updating_mu => 1 }, $options->{tree_mode})} });
$reset_search->();
$size_selected = 0;
$options->{rebuild_tree}->();