Changeset 3266


Ignore:
Timestamp:
03/12/09 02:33:59 (3 years ago)
Author:
jquelin
Message:

using $PADRE_CONFIG_DIR

File:
1 edited

Legend:

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

    r3219 r3266  
    55use warnings; 
    66use YAML::Tiny                (); 
     7use Padre::Config::Constants  qw{ $PADRE_CONFIG_DIR }; 
    78use Padre::Util               (); 
    89use Padre::Current            (); 
     
    8182    my $file = 
    8283        $private  
    83         ? File::Spec->catfile( Padre::Config->default_dir , 'styles', "$name.yml" ) 
     84        ? File::Spec->catfile( $PADRE_CONFIG_DIR, 'styles', "$name.yml" ) 
    8485        : Padre::Util::sharefile( 'styles', "$name.yml" ); 
    8586    my $tdata; 
Note: See TracChangeset for help on using the changeset viewer.