Changeset 10855


Ignore:
Timestamp:
02/20/10 03:09:24 (2 years ago)
Author:
azawawi
Message:

Fixed options in all config to be an anonymous hash (for ease of access). Please feel free to revert it if i am wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Config.pm

    r10826 r10855  
    377377    store   => Padre::Constant::HUMAN, 
    378378    default => 'new', 
    379     options => [ 
     379    options => { 
    380380        'last'    => _T('Previous open files'), 
    381381        'new'     => _T('A new empty file'), 
    382382        'nothing' => _T('No open files'), 
    383383        'session' => _T('Open session'), 
    384     ], 
     384    }, 
    385385); 
    386386 
     
    468468    store   => Padre::Constant::HUMAN, 
    469469    default => 'alphabetical', 
    470     options => [ 
     470    options => { 
    471471        'original'                  => _T('Code Order'), 
    472472        'alphabetical'              => _T('Alphabetical Order'), 
    473473        'alphabetical_private_last' => _T('Alphabetical Order (Private Last)'), 
    474     ], 
     474    }, 
    475475); 
    476476setting( 
     
    491491    store   => Padre::Constant::HUMAN, 
    492492    default => 'left', 
    493     options => [ 
     493    options => { 
    494494        'left'  => _T('Project Tools (Left)'), 
    495495        'right' => _T('Document Tools (Right)'), 
    496     ], 
     496    }, 
    497497    apply => sub { 
    498498        my $main  = shift; 
     
    681681    store   => Padre::Constant::HUMAN, 
    682682    default => 'deep', 
    683     options => [ 
     683    options => { 
    684684        'no'   => _T('No Autoindent'), 
    685685        'same' => _T('Indent to Same Depth'), 
    686686        'deep' => _T('Indent Deeply'), 
    687     ], 
     687    }, 
    688688); 
    689689setting( 
Note: See TracChangeset for help on using the changeset viewer.