diff options
-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( |