diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 08:41:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 08:41:51 +0000 |
commit | e1d6312b0fa4cfbece57c1deeac1f868a9250d71 (patch) | |
tree | e8f115b6ee34a984054a345aed1e1a23260207c7 | |
parent | 6d8d2bdb372a8055e6d7a6d7c6fb60115dc8838f (diff) | |
download | rpmdrake-e1d6312b0fa4cfbece57c1deeac1f868a9250d71.tar rpmdrake-e1d6312b0fa4cfbece57c1deeac1f868a9250d71.tar.gz rpmdrake-e1d6312b0fa4cfbece57c1deeac1f868a9250d71.tar.bz2 rpmdrake-e1d6312b0fa4cfbece57c1deeac1f868a9250d71.tar.xz rpmdrake-e1d6312b0fa4cfbece57c1deeac1f868a9250d71.zip |
(build_tree) prevent needlessly rebuilding the tree
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -790,6 +790,9 @@ sub run_treeview_dialog { }, #- checks $_[0] -> hack for partial tree displaying build_tree => sub { my ($add_node, $flat, $mode) = @_; + my $old_mode if 0; + return if $old_mode eq $mode; + $old_mode = $mode; my @elems; my $wait; $wait = statusbar_msg(N("Please wait, listing packages...")) if $MODE ne 'update'; gtkflush(); |