aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-19 11:58:38 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-19 11:58:38 +0000
commitc221282cd2106f0d0e17f12dc7eeeb4e8239fc57 (patch)
tree9bb8f592bd8b90f4692adbe43606bd32810ad64d
parent7b86e58b18908db7e7d9a1d4b03e39099067bb80 (diff)
downloadrpmdrake-c221282cd2106f0d0e17f12dc7eeeb4e8239fc57.tar
rpmdrake-c221282cd2106f0d0e17f12dc7eeeb4e8239fc57.tar.gz
rpmdrake-c221282cd2106f0d0e17f12dc7eeeb4e8239fc57.tar.bz2
rpmdrake-c221282cd2106f0d0e17f12dc7eeeb4e8239fc57.tar.xz
rpmdrake-c221282cd2106f0d0e17f12dc7eeeb4e8239fc57.zip
(set_node_state_tree) factorize model->set() calls though set_node_state_flat()
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4765a70d..7e283d85 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -201,8 +201,7 @@ sub set_node_state_tree {
$node_state{$parent_str} ne $new_state and
set_node_state_tree($parent, $new_state);
}
- $model->set($iter, $pkg_columns{state_icon} => $pix{$state});
- $model->set($iter, $pkg_columns{state} => $state);
+ set_node_state_flat($iter, $state, $model)
#$node_state{$iter_str} = $state; #- cache for efficiency
} else {
}