aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 15:39:55 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 15:39:55 +0000
commitf207342870ce3230581f6607e371c45684ba0207 (patch)
treea001b59488b0271a2a4e52da2f61b625ee3890df
parent0d00757fce246fde41a9860bae4304275fc5fe14 (diff)
downloadrpmdrake-f207342870ce3230581f6607e371c45684ba0207.tar
rpmdrake-f207342870ce3230581f6607e371c45684ba0207.tar.gz
rpmdrake-f207342870ce3230581f6607e371c45684ba0207.tar.bz2
rpmdrake-f207342870ce3230581f6607e371c45684ba0207.tar.xz
rpmdrake-f207342870ce3230581f6607e371c45684ba0207.zip
(run_treeview_dialog) refresh packages tree when edit-urpm-sources
performed something thus fixing crash when removing source then selecting a package that is no more know to urpmi (#32832)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 2213e33f..da05035a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -375,7 +375,7 @@ sub run_treeview_dialog {
}, undef, '<CheckItem>' ],
[ N("/_Options") . N("/_Media Manager"), undef, sub {
require Rpmdrake::edit_urpm_sources;
- Rpmdrake::edit_urpm_sources::run() && kgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode});
+ Rpmdrake::edit_urpm_sources::run() && $reload_db_and_clear_all->();
}, undef, '<Item>' ],
[ N("/_Options") . N("/_Show automatically selected packages"), undef, sub {
$dont_show_selections = !$checkbox_show_autoselect->get_active;