Ignore:
Timestamp:
Jun 11, 2010, 9:25:24 AM (14 years ago)
Author:
ronosman
Message:

Add thumbnails in progress list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/ImageProgressDlg.pm

    r6494 r6520  
    6565
    6666    $self->columns(
    67         ['Name', 'Rank', '%', 'Status', 'File']
     67        $params->{columns},
    6868    );
    6969
     
    121121    my $item = $image->{add_rank};
    122122    $self->listctrl->replace_item_data($item, $image);
    123 }
    124 
    125 
    126 sub auto_size_columns {
    127     my ( $self ) = @_;
    128 
    129     map{
    130        $self->listctrl->SetColumnWidth($_, -1);
    131     }(0..$self->listctrl->GetColumnCount);
    132 
     123    $self->listctrl->replace_item_wximage(
     124        $item,
     125        $image->{wx_thumb_file}
     126    );
    133127}
    134128
Note: See TracChangeset for help on using the changeset viewer.