diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:23:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:23:55 +0000 |
commit | ec32cdb26d13e08c6e75eddab8217dfc933ec318 (patch) | |
tree | 1e46522d9a7dcecf821ebe7f070ea4b5d520a46d | |
parent | c942f6d7dc5279654b838acf3cbbf887680585dc (diff) | |
download | rpmdrake-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-x | rpmdrake | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |