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.24 by root, Tue Jun 6 03:05:16 2006 UTC vs.
Revision 1.25 by root, Tue Jun 6 03:13:00 2006 UTC

486 486
487 $::FLOORBOX->clear; 487 $::FLOORBOX->clear;
488 488
489 my $row; 489 my $row;
490 for (@{ $::CONN->{container}{0} }) { 490 for (@{ $::CONN->{container}{0} }) {
491 if ($row < 7) { 491 if ($row < 6) {
492 local $_->{face_widget}; # hack to force recreation of widget 492 local $_->{face_widget}; # hack to force recreation of widget
493 local $_->{desc_widget}; # hack to force recreation of widget 493 local $_->{desc_widget}; # hack to force recreation of widget
494 CFClient::Item::update_widgets $_; 494 CFClient::Item::update_widgets $_;
495 495
496 $::FLOORBOX->add (0, $row, $_->{face_widget}); 496 $::FLOORBOX->add (0, $row, $_->{face_widget});
497 $::FLOORBOX->add (1, $row, $_->{desc_widget}); 497 $::FLOORBOX->add (1, $row, $_->{desc_widget});
498 498
499 $row++; 499 $row++;
500 } else { 500 } else {
501 $::FLOORBOX->add (1, $row, new CFClient::UI::Label text => "More..."); 501 $::FLOORBOX->add (1, $row, new CFClient::UI::Button
502 text => "More...",
503 on_activate => sub { $::INV_WINDOW->toggle_visibility },
504 );
502 last; 505 last;
503 } 506 }
504 } 507 }
505 }); 508 });
506 509

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines