aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/gui.pm5
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2449f333..d7cbd462 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix slow update of pkgs list (mga#12000)
- --merge-all-rpmnew mode:
o fix a warning
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4e287455..e10629ac 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -539,10 +539,15 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
};
$common->{add_nodes} = sub {
my (@nodes) = @_;
+ $w->{detail_list}->freeze_child_notify;
+ my $model = $w->{detail_list}->get_model;
+ $w->{detail_list}->set_model;
$w->{detail_list_model}->clear;
$w->{detail_list}->scroll_to_point(0, 0);
add_node($_->[0], $_->[1], $_->[2]) foreach @nodes;
update_size($common);
+ $w->{detail_list}->set_model($model);
+ $w->{detail_list}->thaw_child_notify;
};
$common->{display_info} = sub {