aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:23:55 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:23:55 +0000
commitec32cdb26d13e08c6e75eddab8217dfc933ec318 (patch)
tree1e46522d9a7dcecf821ebe7f070ea4b5d520a46d
parentc942f6d7dc5279654b838acf3cbbf887680585dc (diff)
downloadrpmdrake-ec32cdb26d13e08c6e75eddab8217dfc933ec318.tar
rpmdrake-ec32cdb26d13e08c6e75eddab8217dfc933ec318.tar.gz
rpmdrake-ec32cdb26d13e08c6e75eddab8217dfc933ec318.tar.bz2
rpmdrake-ec32cdb26d13e08c6e75eddab8217dfc933ec318.tar.xz
rpmdrake-ec32cdb26d13e08c6e75eddab8217dfc933ec318.zip
do not empty and reload the packages list for dummy changes (aka if group
hasn't actually changed)
-rwxr-xr-xrpmdrake4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 7d7dd73d..d8e07818 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1001,6 +1001,10 @@ or you already installed all of them."));
) foreach $tree, $detail_tree;
$tree->get_selection->signal_connect(changed => sub {
my ($model, $iter) = $_[0]->get_selected;
+ my $current_group if 0;
+ my $new_group = $model->get($iter, 0);
+ return if $current_group eq $new_group;
+ $current_group = $new_group;
$model && $iter or return;
my $group = $model->get($iter, 0);
my $parent = $iter;