diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-19 11:58:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-19 11:58:38 +0000 |
commit | c221282cd2106f0d0e17f12dc7eeeb4e8239fc57 (patch) | |
tree | 9bb8f592bd8b90f4692adbe43606bd32810ad64d | |
parent | 7b86e58b18908db7e7d9a1d4b03e39099067bb80 (diff) | |
download | rpmdrake-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.pm | 3 |
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 { } |