aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-07-05 15:42:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-07-05 15:42:49 +0000
commit0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3 (patch)
treed4e34db1a8a2c845d093f0351abd035f70f7cd81
parente48372c12a6e263bd23afac5264ee93b64229cbb (diff)
downloadrpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar
rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar.gz
rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar.bz2
rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar.xz
rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.zip
use new toggle_all()
-rwxr-xr-xMandrivaUpdate4
-rwxr-xr-xrpmdrake3
2 files changed, 3 insertions, 4 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 38355a0e..245e12ad 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -149,8 +149,8 @@ sub run_treeview_dialog {
0, gtksignal_connect(
Gtk2::Button->new(but_(N("Select all"))),
clicked => sub {
- return if !ref($::options->{toggle_all});
- $::options->{toggle_all}->(1);
+ return;
+ toggle_all({ }, 1);
},
),
1, gtknew('Label'),
diff --git a/rpmdrake b/rpmdrake
index 2ccbb533..c7c12c79 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -461,8 +461,7 @@ sub run_treeview_dialog {
0, gtksignal_connect(
Gtk2::Button->new(but_(N("Select all"))),
clicked => sub {
- return if !ref($options->{toggle_all});
- $options->{toggle_all}->(1);
+ toggle_all($options, 1);
},
),
0, my $action_button = gtksignal_connect(