aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-21 11:28:09 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-21 11:28:09 +0000
commitaaebcfd04d7f81175afbdb4baa390d7a5c0b3687 (patch)
treed8289063df49e48b34f6dfb9de81ba31a437fac8 /Rpmdrake/gui.pm
parent57091a4a5bbbf3857f4176dc399e2bbe4ff91c33 (diff)
downloadrpmdrake-aaebcfd04d7f81175afbdb4baa390d7a5c0b3687.tar
rpmdrake-aaebcfd04d7f81175afbdb4baa390d7a5c0b3687.tar.gz
rpmdrake-aaebcfd04d7f81175afbdb4baa390d7a5c0b3687.tar.bz2
rpmdrake-aaebcfd04d7f81175afbdb4baa390d7a5c0b3687.tar.xz
rpmdrake-aaebcfd04d7f81175afbdb4baa390d7a5c0b3687.zip
kill "grep_allowed_to_toggle" callback which really was unused
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 392f6252..a269f06b 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -207,7 +207,7 @@ sub add_parent {
# o "info" is a TextView
# o "tree_model" is the associated model of "tree"
# o "status" references a Label
-# - some methods: get_info, node_state, build_tree, grep_allowed_to_toggle, partialsel_unsel, grep_unselected, rebuild_tree, toggle_nodes, get_status
+# - some methods: get_info, node_state, build_tree, partialsel_unsel, grep_unselected, rebuild_tree, toggle_nodes, get_status
# - "tree_submode": the default mode (by group, mandriva choice), ...
# - "state": a hash of misc flags: => { flat => '0' },
# o "flat": is the tree flat or not
@@ -330,7 +330,7 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
my $children = sub { map { $w->{detail_list_model}->get($_, 0) } gtktreeview_children($w->{detail_list_model}, $_[0]) };
$common->{toggle_all} = sub {
my ($_val) = @_;
- my @l = $common->{grep_allowed_to_toggle}($children->()) or return;
+ my @l = $children->() or return;
my @unsel = $common->{grep_unselected}(@l);
my @p = @unsel ?