aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMageiaUpdate7
-rw-r--r--NEWS3
2 files changed, 10 insertions, 0 deletions
diff --git a/MageiaUpdate b/MageiaUpdate
index ae18cc4c..4068ea26 100755
--- a/MageiaUpdate
+++ b/MageiaUpdate
@@ -75,6 +75,10 @@ sub refresh_packages_list {
# select packages to update:
my @requested = sort grep { $pkgs->{$_}{pkg} } @filtered_pkgs;
+ $list->freeze_child_notify;
+ my $model = $list->get_model;
+ $list->set_model;
+
# don't select packages in skip list:
if (!$initialized) {
undef $pkgs->{$_}{selected} foreach @requested;
@@ -103,6 +107,9 @@ sub refresh_packages_list {
no available update for the packages installed on your computer,
or you already installed all of them."))) if !@{$list->{data}};
$button->set_sensitive(scalar(@{$list->{data}}));
+
+ $list->set_model($model);
+ $list->thaw_child_notify;
}
sub toggle {
diff --git a/NEWS b/NEWS
index b228dadc..669e901b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- MageiaUpdate:
+ o fix slow refresh of pkgs list (mga#12300)
+
Version 6.8 - 13 January 2014, Thierry Vignaud
- rpmdrake: