Changeset 3232


Ignore:
Timestamp:
03/30/09 21:09:02 (10 years ago)
Author:
ronosman
Message:

Bug 963. Work offline mode ignored after first login failure.

Location:
extras/pLoader/trunk/src/Uploader/GUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extras/pLoader/trunk/src/Uploader/GUI/wxApp.pm

    r3227 r3232  
    322322     
    323323    $self->version( 
    324         '2.0.1a' 
     324        '2.0.1b' 
    325325    ); 
    326326     
     
    376376            while( $not_exit and !$self->_is_connected ){ 
    377377                $not_exit = $self->Login(); 
     378                last if $self->use_offline; 
    378379            } 
    379380        } 
     
    509510 
    510511    my $params = { 
     512        new_files        => [], 
    511513        thumb_size       => 120, 
    512514        site_thumb_dir   => $self->thumb_dir, 
  • extras/pLoader/trunk/src/Uploader/GUI/wxLoginDlg.pm

    r3227 r3232  
    2929use base qw/Wx::Dialog Class::Accessor::Fast/; 
    3030use Wx::Event qw/ 
    31                     EVT_UPDATE_UI 
    3231                    EVT_BUTTON 
    3332                /; 
     
    103102sub OnLoginOffline { 
    104103    my ( $self, $event ) = @_; 
     104 
    105105    $self->use_offline->(1); 
    106106         
Note: See TracChangeset for help on using the changeset viewer.