Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] Re: drakx-kbd-mouse-x11 patch proposal

Pixel

2008-06-06

Replies: Find Java Web Hosting

Author LoginPost Reply
Paulo Cesar Pereira de Andrade <pcpa@(protected):

> +sub get_extension {
> +   my ($raw_X, $extension) = @_;
> +   my $raw = $raw_X->get_Section('Extensions');
> +   $raw && $raw->{Composite} && $raw->{Composite}[0]{val};
> +}
> +sub set_extension {
> +   my ($raw_X, $extension, $val) = @_;
> +   my $raw = $raw_X->get_Section('Extensions') ||
> $raw_X->add_Section('Extensions', {});
> +   $raw->{Composite} = { 'Option' => 1, val => $val };
> +}
>
> Shouldn't it use $extension instead of hardcoded Composite?

quite right. fixing. thanks!


©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.