Ignore:
Timestamp:
Nov 16, 2009, 12:28:47 PM (14 years ago)
Author:
ronosman
Message:

Feature 1064 added : improve upload progress dialog box to display current operation and the rank of the photo being uploaded.

File:
1 edited

Legend:

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

    r2728 r4279  
    4040           processing
    4141           txtprocessing
     42           processing_details
     43           txtprocessing_details
    4244           image
    4345           cancelled
     46           bt_close_label
    4447      /
    4548);
     
    6265    $self->gauge( $self->FindWindow($main::ID_PROGRESS_GAUGE) );
    6366    $self->txtprocessing( $self->FindWindow($main::ID_PROGRESS_TXT) );
     67    $self->txtprocessing_details( $self->FindWindow($main::ID_PROGRESS_TXT2) );
    6468    $self->image( $self->FindWindow($main::ID_STATICBITMAP) );
    6569    $self->gauge->SetForegroundColour(wxGREEN);
     
    6872    $self->btok->SetLabel(
    6973        $params->{bt_label}||'Cancel'
     74    );
     75    $self->bt_close_label(
     76        $params->{bt_close_label}||'Close'
    7077    );
    7178
     
    94101        $self->processing
    95102    );
     103    $self->txtprocessing_details->SetLabel(
     104        $self->processing_details
     105    );
    96106    $self->gauge->SetValue(
    97         $self->progress
     107        $self->progress 
    98108    );
    99109}
     
    107117    $self->image->Show(0);
    108118    $self->gauge->Show(0);
    109 
     119    # for i18n
    110120    $self->btok->SetLabel(
    111         'Close'
     121        $self->bt_close_label
    112122    );
    113123       
     124    $self->txtprocessing_details->SetLabel("");
    114125}
    115126
Note: See TracChangeset for help on using the changeset viewer.