Changeset 3312


Ignore:
Timestamp:
03/13/09 03:21:47 (3 years ago)
Author:
szabgab
Message:

no need to show/hide the status bar twice

File:
1 edited

Legend:

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

    r3308 r3312  
    188188    my $statusbar = Padre::Wx::StatusBar->new($self); 
    189189    $self->SetStatusBar($statusbar); 
    190     # show the statusbar if needed. 
    191     if ( $self->config->main_statusbar ) { 
    192         $statusbar->Show; 
    193     } else { 
    194         $statusbar->Hide; 
    195     } 
    196190 
    197191    # Create the three notebooks (document and tools) that 
     
    276270    # so now we always turn the status bar on at the beginning and hide it in the timer, if it was not needed 
    277271    # TODO: there might be better ways to fix that issue... 
    278     $self->GetStatusBar->Show; 
     272    $statusbar->Show; 
    279273    my $timer = Wx::Timer->new( $self, Padre::Wx::ID_TIMER_POSTINIT ); 
    280274    Wx::Event::EVT_TIMER( 
Note: See TracChangeset for help on using the changeset viewer.