diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-07-05 15:42:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-07-05 15:42:49 +0000 |
commit | 0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3 (patch) | |
tree | d4e34db1a8a2c845d093f0351abd035f70f7cd81 | |
parent | e48372c12a6e263bd23afac5264ee93b64229cbb (diff) | |
download | rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar.gz rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar.bz2 rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.tar.xz rpmdrake-0d7a4d39d6ff05a853aba5dd2c6884a378f66ec3.zip |
use new toggle_all()
-rwxr-xr-x | MandrivaUpdate | 4 | ||||
-rwxr-xr-x | rpmdrake | 3 |
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'), @@ -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( |