Changeset 9617
- Timestamp:
- 12/12/09 01:45:06 (2 years ago)
- Location:
- trunk/Padre/lib/Padre/Wx
- Files:
-
- 2 edited
-
Main.pm (modified) (3 diffs)
-
Menu/View.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Wx/Main.pm
r9604 r9617 240 240 # at the beginning and hide it in the timer, if it was not needed 241 241 # TO DO: there might be better ways to fix that issue... 242 $statusbar->Show;242 #$statusbar->Show; 243 243 my $timer = Wx::Timer->new( $self, Padre::Wx::ID_TIMER_POSTINIT, ); 244 244 Wx::Event::EVT_TIMER( … … 4343 4343 my $self = shift; 4344 4344 4345 # Status bar always shown on Windows4346 return if Padre::Constant::WXWIN32;4347 4348 4345 # Update the configuration 4349 4346 $self->config->set( … … 4361 4358 # Save configuration 4362 4359 $self->config->write; 4360 4361 # Refresh. This is needed to show/hide the status bar 4362 $self->aui->Update; 4363 4363 4364 4364 return; -
trunk/Padre/lib/Padre/Wx/Menu/View.pm
r9605 r9617 103 103 ); 104 104 105 # On Windows disabling the status bar doesn't work, so don't allow it 106 unless (Padre::Constant::WXWIN32) { 107 $self->{statusbar} = $self->add_checked_menu_item( 108 $self, 109 name => 'view.statusbar', 110 label => Wx::gettext('Show StatusBar'), 111 menu_event => sub { 112 $_[0]->on_toggle_statusbar( $_[1] ); 113 }, 114 ); 115 } 105 $self->{statusbar} = $self->add_checked_menu_item( 106 $self, 107 name => 'view.statusbar', 108 label => Wx::gettext('Show StatusBar'), 109 menu_event => sub { 110 $_[0]->on_toggle_statusbar( $_[1] ); 111 }, 112 ); 116 113 117 114 $self->{toolbar} = $self->add_checked_menu_item( … … 465 462 466 463 # Simple check state cases from configuration 467 unless (Padre::Constant::WXWIN32) { 468 $self->{statusbar}->Check( $config->main_statusbar ); 469 } 464 $self->{statusbar}->Check( $config->main_statusbar ); 470 465 471 466 $self->{lines}->Check( $config->editor_linenumbers );
Note: See TracChangeset
for help on using the changeset viewer.
