diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-16 06:29:20 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-16 06:29:20 +0100 |
commit | 15236a33de8cef706cb1a3710577fc1593c7487e (patch) | |
tree | 432759391d109fb7248ad2ca983f23c9251b9488 | |
parent | 8e4459df9f60b1a924f33e24fd67366027a21f43 (diff) | |
download | rpmdrake-15236a33de8cef706cb1a3710577fc1593c7487e.tar rpmdrake-15236a33de8cef706cb1a3710577fc1593c7487e.tar.gz rpmdrake-15236a33de8cef706cb1a3710577fc1593c7487e.tar.bz2 rpmdrake-15236a33de8cef706cb1a3710577fc1593c7487e.tar.xz rpmdrake-15236a33de8cef706cb1a3710577fc1593c7487e.zip |
fix slow refresh of pkgs list (mga#12300)
-rwxr-xr-x | MageiaUpdate | 7 | ||||
-rw-r--r-- | NEWS | 3 |
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 { @@ -1,3 +1,6 @@ +- MageiaUpdate: + o fix slow refresh of pkgs list (mga#12300) + Version 6.8 - 13 January 2014, Thierry Vignaud - rpmdrake: |