ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.125 by root, Sat Jul 21 15:04:27 2007 UTC vs.
Revision 1.126 by root, Sun Jul 22 19:34:58 2007 UTC

209 my ($arg) = @_; 209 my ($arg) = @_;
210 210
211 my $w = $self->{widget}{$arg->{id}} 211 my $w = $self->{widget}{$arg->{id}}
212 or return; 212 or return;
213 213
214 $w->{$_->[0]} = $_->[1] 214 my $attr = $arg->{attr};
215 for @{ $arg->{attr} }; 215
216 for (my $i = 0; $i < $#$attr; $i += 2) {
217 $w->{$attr->[$i]} = $attr->[$i+1];
218 $w->{parent}->realloc if $attr->[$i] =~ /^c_/ && $w->{visible};#d# really?
219 }
216 }); 220 });
217 221
218 # widget get 222 # widget get
219 $self->connect_ext (w_g => sub { 223 $self->connect_ext (w_g => sub {
220 my ($arg) = @_; 224 my ($arg) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines