Changeset 9764 for trunk/Padre/lib/Padre/Wx/Dialog/OpenResource.pm
- Timestamp:
- 12/17/09 22:32:25 (2 years ago)
- File:
-
- 1 edited
-
trunk/Padre/lib/Padre/Wx/Dialog/OpenResource.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Wx/Dialog/OpenResource.pm
r9763 r9764 320 320 my $num_selected = scalar @matches; 321 321 if ( $num_selected == 1 ) { 322 $self->_status_text->ChangeValue( $self->_path( $self->_matches_list->GetClientData( $matches[0])) );322 $self->_status_text->ChangeValue( $self->_path( $self->_matches_list->GetClientData( $matches[0] ) ) ); 323 323 $self->_copy_button->Enable(1); 324 324 } elsif ( $num_selected > 1 ) { … … 456 456 my @recent_files = (); 457 457 foreach my $e (@$recently_used) { 458 push @recent_files, $self->_path($e->value);458 push @recent_files, $self->_path( $e->value ); 459 459 } 460 460 @recent_files = sort { File::Basename::fileparse($a) cmp File::Basename::fileparse($b) } @recent_files; … … 516 516 if ( $pos > 0 ) { 517 517 $self->_matches_list->Select(0); 518 $self->_status_text->ChangeValue( $self->_path( $self->_matches_list->GetClientData(0)) );518 $self->_status_text->ChangeValue( $self->_path( $self->_matches_list->GetClientData(0) ) ); 519 519 $self->_status_text->Enable(1); 520 520 $self->_copy_button->Enable(1); … … 534 534 # 535 535 sub _path { 536 my ( $self, $path) = @_;537 if (Padre::Constant::WIN32) {536 my ( $self, $path ) = @_; 537 if (Padre::Constant::WIN32) { 538 538 $path =~ s/\//\\/g; 539 539 }
Note: See TracChangeset
for help on using the changeset viewer.
