aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-24 09:41:29 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-24 09:41:29 +0000
commit8c39f9af7ba29e08a5c9e365a6444e50e5b5fce8 (patch)
tree98a189d7c8116b698176d254498c57e369de3913 /Rpmdrake/gui.pm
parent63c809214b20baa46c7975cdcfcbfd50971bc864 (diff)
downloadrpmdrake-8c39f9af7ba29e08a5c9e365a6444e50e5b5fce8.tar
rpmdrake-8c39f9af7ba29e08a5c9e365a6444e50e5b5fce8.tar.gz
rpmdrake-8c39f9af7ba29e08a5c9e365a6444e50e5b5fce8.tar.bz2
rpmdrake-8c39f9af7ba29e08a5c9e365a6444e50e5b5fce8.tar.xz
rpmdrake-8c39f9af7ba29e08a5c9e365a6444e50e5b5fce8.zip
add a FIXME note
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 0c6e65ca..d07c4e24 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -638,6 +638,7 @@ sub toggle_nodes {
}
$set_state->($_, node_state($_), $model);
if (my $pkg = $pkgs->{$_}{pkg}) {
+ # FIXME: shouldn't we threat all of them as POSITIVE (as selected size)
$size_selected += $pkg->size * ($pkg->flag_installed && !$pkg->flag_upgrade ? ($new_state ? -1 : 1) : ($new_state ? 1 : -1));
}
}