Changeset 3307


Ignore:
Timestamp:
03/12/09 14:24:10 (3 years ago)
Author:
szabgab
Message:

first step in making sure the status_bar is shown at start-up time even if the menus were not refreshed yet

File:
1 edited

Legend:

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

    r3299 r3307  
    408408    # represents the loaded state. 
    409409    $self->load_files; 
    410     $self->on_toggle_statusbar; 
     410    if ( $self->config->main_statusbar ) { 
     411        $self->GetStatusBar->Show; 
     412    } 
    411413    Padre->ide->plugin_manager->enable_editors_for_all; 
    412     if ( $self->menu->view->{show_syntaxcheck}->IsChecked ) { 
    413         $self->show_syntax(1); 
    414     } 
    415  
    416     if ( $self->menu->view->{show_errorlist}->IsChecked ) { 
     414 
     415    $self->show_syntax( $self->config->main_syntaxcheck ); 
     416    if ($self->config->main_errorlist) { 
    417417        $self->errorlist->enable; 
    418418    } 
Note: See TracChangeset for help on using the changeset viewer.