diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 10:57:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 10:57:23 +0000 |
commit | 34816a37fee68d1cd74b7bc9b5293628ab89c351 (patch) | |
tree | 6271e2937b808ea20f2436fea2b3f1668f5ec3c3 | |
parent | e6153a16f0662d5308661bd6937d25120b364405 (diff) | |
download | rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar.gz rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar.bz2 rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.tar.xz rpmdrake-34816a37fee68d1cd74b7bc9b5293628ab89c351.zip |
keep internal state untranslated (#25774)
-rwxr-xr-x | rpmdrake | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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}->(); |