Changeset 870


Ignore:
Timestamp:
11/10/08 12:52:38 (3 years ago)
Author:
szabgab
Message:

revert to us File::ShareDir? till we figure out what is the problem with the PAR version

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r787 r870  
    3636#   'File::LocalizeNewlines'  => '1.10', 
    3737    'File::ShareDir'          => '1.00', 
    38     'File::ShareDir::PAR'     => '0.02', 
     38#   'File::ShareDir::PAR'     => '0.02', 
    3939    'File::Slurp'             => 0, 
    4040    'File::Which'             => '0.05', 
  • trunk/lib/Padre.pm

    r868 r870  
    363363oriented preference. It should probably apply to all files currently 
    364364open. 
     365 
     366There are other aspects of preferences as well that might not exactly  
     367overlap with the above set: 
     368 
     369The developer might work on the same project on different machines. 
     370In such case some of the personal preferences should apply only  
     371only on one computer while others apply in both places. 
     372 
     373In particular if Padre is installed in a Portable Perl it might  
     374run on machines with different parameters. Screen size and resolution 
     375might be different along other parameters. We would like to make sure 
     376the relevant preferences are separated from those that are constant 
     377even when moving betwen computers. 
    365378 
    366379=head2 Editor or view oriented preferences 
  • trunk/lib/Padre/Wx.pm

    r858 r870  
    88use FindBin; 
    99use File::Spec     (); 
    10 use File::ShareDir::PAR (); 
     10use File::ShareDir (); 
    1111 
    1212# Load every exportable constant into here, so that they come into 
     
    2929    return File::Spec->catdir( $FindBin::Bin, File::Spec->updir, 'share' ) if $ENV{PADRE_DEV}; 
    3030    return File::Spec->catdir( $ENV{PADRE_PAR_PATH}, 'inc', 'share' )      if $ENV{PADRE_PAR_PATH}; 
    31     return File::ShareDir::PAR::dist_dir('Padre'); 
     31    return File::ShareDir::dist_dir('Padre'); 
    3232} 
    3333 
Note: See TracChangeset for help on using the changeset viewer.