Changeset 11054


Ignore:
Timestamp:
03/10/10 20:17:55 (2 years ago)
Author:
adamk
Message:

Moved the survey into the post-init timer, skip it during testing, and load the class for it on the fly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Main.pm

    r11042 r11054  
    5959use Padre::Wx::Dialog::Text       (); 
    6060use Padre::Wx::Dialog::FilterTool (); 
    61 use Padre::Wx::Dialog::WhereFrom  (); 
    6261use Padre::Logger; 
    6362 
     
    252251    $timer->Start( 1, 1 ); 
    253252 
    254     Padre::Wx::Dialog::WhereFrom->new($self); 
    255  
    256253    return $self; 
    257254} 
     
    337334    # Check for new plug-ins and alert the user to them 
    338335    $manager->alert_new; 
     336 
     337    unless ( $Padre::Test::VERSION ) { 
     338        require Padre::Wx::Dialog::WhereFrom; 
     339        Padre::Wx::Dialog::WhereFrom->new($self); 
     340    } 
    339341 
    340342    # Start the change detection timer 
Note: See TracChangeset for help on using the changeset viewer.