Changeset 3308


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

wx bug work around to make sure the status-bar is always at the bottom of the page

File:
1 edited

Legend:

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

    r3307 r3308  
    274274    # the status bar which is ok, but then when we selected the menu to show it, it showed 
    275275    # at the top) 
     276    # so now we always turn the status bar on at the beginning and hide it in the timer, if it was not needed 
    276277    # TODO: there might be better ways to fix that issue... 
     278    $self->GetStatusBar->Show; 
    277279    my $timer = Wx::Timer->new( $self, Padre::Wx::ID_TIMER_POSTINIT ); 
    278280    Wx::Event::EVT_TIMER( 
     
    408410    # represents the loaded state. 
    409411    $self->load_files; 
     412    # canot use the toggle sub here as that one reads from the Menu and  
     413    # on some machines the Menu is not configured yet at this point. 
    410414    if ( $self->config->main_statusbar ) { 
    411415        $self->GetStatusBar->Show; 
     416    } else { 
     417        $self->GetStatusBar->Hide; 
    412418    } 
    413419    Padre->ide->plugin_manager->enable_editors_for_all; 
Note: See TracChangeset for help on using the changeset viewer.